add docker

This commit is contained in:
waveringana 2025-05-31 21:23:07 -04:00
commit b2e3483d7a
Signed by: waveringana
SSH key fingerprint: SHA256:i9wBeOYE6M0IXu5FqJ2f5moBn/QvA2SNwME+b3DzZFU
8 changed files with 379 additions and 0 deletions

View file

@ -0,0 +1,17 @@
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