17 lines
390 B
YAML
17 lines
390 B
YAML
services:
|
|
pocket-id:
|
|
image: ghcr.io/pocket-id/pocket-id:v1.0
|
|
container_name: pocket-id
|
|
restart: unless-stopped
|
|
env_file: .env
|
|
ports:
|
|
- 3000:1411
|
|
volumes:
|
|
- "./data:/app/data"
|
|
# Optional healthcheck
|
|
healthcheck:
|
|
test: "curl -f http://localhost:1411/healthz"
|
|
interval: 1m30s
|
|
timeout: 5s
|
|
retries: 2
|
|
start_period: 10s
|