Initial commit
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
services:
|
||||
pocket-id:
|
||||
image: ghcr.io/pocket-id/pocket-id:v2
|
||||
container_name: pocketid
|
||||
restart: unless-stopped
|
||||
#ports:
|
||||
# - 1411:1411
|
||||
environment:
|
||||
ENCRYPTION_KEY_FILE: /run/secrets/pocketid_encryption_key
|
||||
APP_URL: https://auth.yoonect.com
|
||||
TRUST_PROXY: true
|
||||
PUID: 1000
|
||||
PGID: 1000
|
||||
|
||||
secrets:
|
||||
- pocketid_encryption_key
|
||||
volumes:
|
||||
- "/srv/appdata/pocketid/data:/app/data"
|
||||
healthcheck:
|
||||
test: [ "CMD", "/app/pocket-id", "healthcheck" ]
|
||||
interval: 1m30s
|
||||
timeout: 5s
|
||||
retries: 2
|
||||
start_period: 10s
|
||||
networks:
|
||||
npm_proxy:
|
||||
ipv4_address: 192.168.100.10
|
||||
secrets:
|
||||
pocketid_encryption_key:
|
||||
file: /srv/docker/secrets/pocketid/encryption_key
|
||||
|
||||
networks:
|
||||
npm_proxy:
|
||||
external: true
|
||||
Reference in New Issue
Block a user