mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-06 01:10:22 +03:00
docs: add ENCRYPTION_KEY to .env.example for breaking change preparation
This commit is contained in:
14
.env.example
14
.env.example
@@ -1,6 +1,18 @@
|
|||||||
# See the documentation for more information: https://pocket-id.org/docs/configuration/environment-variables
|
# 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
|
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
|
TRUST_PROXY=false
|
||||||
MAXMIND_LICENSE_KEY=
|
MAXMIND_LICENSE_KEY=
|
||||||
PUID=1000
|
PUID=1000
|
||||||
PGID=1000
|
PGID=1000
|
||||||
Reference in New Issue
Block a user