# Copy to .env and fill in. docker compose picks .env up automatically. # Never commit the populated .env. # ─── Public hostname ──────────────────────────────────────────────────────── # Bare hostname (no scheme) of the pocket-id deployment. Used by Caddy for # TLS issuance, by anubis as the cookie domain, and to derive APP_URL. POCKETID_DOMAIN= # Email for Let's Encrypt registration / expiry notifications. ACME_EMAIL= # ─── Pocket-ID ────────────────────────────────────────────────────────────── # APP_URL is set automatically from POCKETID_DOMAIN in compose; no need to # set it here unless you run pocket-id standalone. # Encryption key. Generate once with: openssl rand -base64 32 # Rotating this re-encrypts data on next start; losing it is unrecoverable. ENCRYPTION_KEY= # Behind Caddy, this MUST be true so pocket-id reads the real client IP and # scheme from X-Forwarded-* headers. Leave it -- compose overrides anyway. TRUST_PROXY=true # Optional: GeoLite2 license key for IP geolocation in the audit log. # Get one free at https://www.maxmind.com/en/geolite2/signup MAXMIND_LICENSE_KEY= # UID/GID the pocket-id process runs as inside the container. Match the # owner of ./data on the host if you bind-mount instead of using the named # volume. PUID=1000 PGID=1000 # ─── Anubis ───────────────────────────────────────────────────────────────── # Ed25519 private key (hex) for the anubis PoW sidecar. Generate with: # openssl rand -hex 32 # Only needed while the anubis-pid service is enabled in compose. ANUBIS_PID_KEY= # ─── WebFinger (optional) ─────────────────────────────────────────────────── # Leave BOTH blank unless the base domain has no other web server and you want # THIS Caddy to also serve /.well-known/webfinger (OIDC discovery for Tailscale # et al.) at the apex. When set, deploy.sh appends a second site block. # Otherwise use the dedicated `webfinger` deployment. # BASE_DOMAIN apex to serve webfinger from (e.g. example.com) # REDIRECT_URL where non-webfinger requests to the apex are 301'd # If you set one you must set both. BASE_DOMAIN= REDIRECT_URL= # ─── Image tags ───────────────────────────────────────────────────────────── # Pin for reproducible deploys. POCKETID_TAG=v2.8.0 CADDY_TAG=2-alpine ANUBIS_TAG=latest