Upload files to "deployments/pocket-id"

This commit is contained in:
57_Wolve committed 2026-05-04 17:15:05 +00:00
1 parent aef47c835a
commit d0977bcbe8
5 files changed
+454

No files matched your search

+44
View File
@@ -0,0 +1,44 @@
# 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=id.example.com
# Email for Let's Encrypt registration / expiry notifications.
ACME_EMAIL=admin@example.com
# ─── 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=
# ─── Image tags ─────────────────────────────────────────────────────────────
# Pin for reproducible deploys.
POCKETID_TAG=v2
CADDY_TAG=2-alpine
ANUBIS_TAG=latest