Add .env.example documenting required secrets

This commit is contained in:
2026-06-03 09:48:31 +10:00
parent 1bb2ea8d2f
commit b26580cf6b
+12
View File
@@ -0,0 +1,12 @@
# Copy to .env and fill in. Never commit the real .env.
# Long random string — used to sign admin login tokens.
# Generate one with: node -e "console.log(require('crypto').randomBytes(48).toString('hex'))"
JWT_SECRET=
# Used only by `npm run seed` to create the first admin account.
ADMIN_USER=admin
ADMIN_PASS=change-me-to-something-strong
# Port the Node server listens on (nginx reverse-proxies to this).
PORT=3000