docs(env): make the JWT_SECRET requirement explicit in .env.example

Spell out that JWT_SECRET is required and must be a strong 32+ char value, and
that the empty default is intentional (docker compose fails fast rather than the
server boot-looping). Pairs with the compose-level guard added in 028005d.
This commit is contained in:
Jannis Braun
2026-07-06 01:20:08 +02:00
parent 028005d487
commit 24accc3647
+9 -1
View File
@@ -10,7 +10,15 @@ DOMAIN=example.com
PORT=3000
HOST=0.0.0.0
# Authentication — generate with: openssl rand -hex 32
# ─── Authentication (REQUIRED) ──────────────────────────────
# Secret that signs login tokens. This MUST be set to a strong random value.
# Leaving it empty is intentional — `docker compose up` then fails immediately
# with a clear message instead of the server boot-looping. Generate one with:
#
# openssl rand -hex 32
#
# (./install.sh fills this in for you automatically — you only touch this when
# configuring by hand.) Must be at least 32 characters.
JWT_SECRET=
# Registration — set to false to close signups after initial setup