File tree Expand file tree Collapse file tree 2 files changed +22
-8
lines changed
Expand file tree Collapse file tree 2 files changed +22
-8
lines changed Original file line number Diff line number Diff line change 33# COMPOSE_PROJECT_NAME= // only use in multiple deployments on the same infra
44# Find Specific Variables in documentation https://stonith404.github.io/pocket-id/configuration/environment-variables
55SERVICE = pocket-id
6- IMAGE_URL = ghcr.io/pocket-id/pocket-id
6+ IMAGE_URL = ghcr.io/pocket-id/pocket-id:v2
77SERVICEPORT = 1411
88TS_AUTHKEY =
99DNS_SERVER = 9.9.9.9
10+
11+
12+ # See the documentation for more information: https://pocket-id.org/docs/configuration/environment-variables
13+
14+ # These variables must be configured for your deployment:
15+ APP_URL = https://pocket-id.<YOUR-TAILSCALE-DOMAIN>.ts.net
16+
17+ # Encryption key (choose one method):
18+ # Method 1: Direct key (simple but less secure)
19+ # Generate with: openssl rand -base64 32
20+ ENCRYPTION_KEY =
21+ # Method 2: File-based key (recommended)
22+ # Put the base64 key in a file and point to it here.
23+ # ENCRYPTION_KEY_FILE=/path/to/encryption_key
24+
25+ # These variables are optional but recommended to review:
26+ TRUST_PROXY = true
27+ MAXMIND_LICENSE_KEY =
28+ PUID = 1000
29+ PGID = 1000
Original file line number Diff line number Diff line change @@ -51,13 +51,7 @@ services:
5151 image : ${IMAGE_URL} # Image to be used
5252 network_mode : service:tailscale # Sidecar configuration to route ${SERVICE} through Tailscale
5353 container_name : app-${SERVICE} # Name for local container management
54- environment :
55- - PUID=1000
56- - PGID=1000
57- - TZ=Europe/Amsterdam
58- # - PUBLIC_APP_URL=https://pocket-id.<your-ts-domain>.ts.net
59- # - TRUST_PROXY=yes
60- # - MAXMIND_LICENSE_KEY=
54+ env_file : .env
6155 volumes :
6256 - ./${SERVICE}-data:/app/backend/data
6357 depends_on :
You can’t perform that action at this time.
0 commit comments