From 4eeb06f29d984164939bf66299075efead87ee19 Mon Sep 17 00:00:00 2001 From: Elias Schneider Date: Sun, 30 Nov 2025 13:14:15 +0100 Subject: [PATCH] docs: add `ENCRYPTION_KEY` to `.env.example` for breaking change preparation --- .env.example | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.env.example b/.env.example index 00b73bae..0afd1375 100644 --- a/.env.example +++ b/.env.example @@ -1,6 +1,18 @@ # See the documentation for more information: https://pocket-id.org/docs/configuration/environment-variables + +# These variables must be configured for your deployment: APP_URL=https://your-pocket-id-domain.com + +# Encryption key (choose one method): +# Method 1: Direct key (simple but less secure) +# Generate with: openssl rand -base64 32 +ENCRYPTION_KEY= +# Method 2: File-based key (recommended) +# Put the base64 key in a file and point to it here. +# ENCRYPTION_KEY_FILE=/path/to/encryption_key + +# These variables are optional but recommended to review: TRUST_PROXY=false MAXMIND_LICENSE_KEY= PUID=1000 -PGID=1000 +PGID=1000 \ No newline at end of file