Update docker-compose-pocketid.yml
This commit is contained in:
22
docker-compose-pocketid.yml
Normal file
22
docker-compose-pocketid.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
services:
|
||||
pocket-id:
|
||||
container_name: pocketid
|
||||
image: ghcr.io/pocket-id/pocket-id:v1
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- vaultainer
|
||||
env_file: .env
|
||||
ports:
|
||||
- 1411:1411
|
||||
volumes:
|
||||
- "./data:/app/data"
|
||||
# Optional healthcheck
|
||||
healthcheck:
|
||||
test: [ "CMD", "/app/pocket-id", "healthcheck" ]
|
||||
interval: 1m30s
|
||||
timeout: 5s
|
||||
retries: 2
|
||||
start_period: 10s
|
||||
networks:
|
||||
vaultainer:
|
||||
external: true
|
||||
Reference in New Issue
Block a user