feat: Let's encrypt, pocketid

This commit is contained in:
Lino Silva
2026-03-31 10:31:31 +01:00
parent 82a433fc26
commit d71caea7d0
11 changed files with 190 additions and 25 deletions
@@ -0,0 +1,22 @@
services:
pocketid:
image: ghcr.io/pocket-id/pocket-id:v2
container_name: pocketid
restart: unless-stopped
ports:
- "8001:1411"
environment:
- APP_URL=https://auth.{{ domain }}
- TRUST_PROXY=true
- DATABASE_URL=file:/app/data/pocket-id.db
- ENCRYPTION_KEY={{ pocketid_encryption_key }}
- LOG_LEVEL=debug
- SESSION_DURATION=63072000 # 2 years
volumes:
- /data/pocket-id:/app/data
healthcheck:
test: [ "CMD", "/app/pocket-id", "healthcheck" ]
interval: 1m30s
timeout: 5s
retries: 2
start_period: 10s