From 419b7613ee12f3c4882d1b48468641f368b8755b Mon Sep 17 00:00:00 2001 From: "Alessandro (Ale) Segala" <43508+ItalyPaleAle@users.noreply.github.com> Date: Mon, 10 Nov 2025 07:17:38 -0800 Subject: [PATCH] Update example .env to use database for keys storage Given recent conversations on how the database will be the preferred (or sole) method in a future release, start by updating the example env --- .env.example | 8 ++++++++ .gitignore | 1 + 2 files changed, 9 insertions(+) diff --git a/.env.example b/.env.example index 00b73bae..3cbbb51f 100644 --- a/.env.example +++ b/.env.example @@ -4,3 +4,11 @@ TRUST_PROXY=false MAXMIND_LICENSE_KEY= PUID=1000 PGID=1000 +KEYS_STORAGE=database + +# Encryption key used to protect sensitive data +# Can be generated with `openssl rand -base64 32` +# See https://pocket-id.org/docs/configuration/environment-variables#encryption-keys +ENCRYPTION_KEY= +# Alternatively, point to a file containing the key (could be a Docker secret) +#ENCRYPTION_KEY_FILE= diff --git a/.gitignore b/.gitignore index abf848c2..5651391d 100644 --- a/.gitignore +++ b/.gitignore @@ -25,6 +25,7 @@ Thumbs.db .env.* !.env.development-example !.env.test +!.env.example # Vite vite.config.js.timestamp-*