-
Notifications
You must be signed in to change notification settings - Fork 15
Environment
VoodooLikesCoding edited this page Nov 9, 2025
·
4 revisions
Backend
-
ADMIN_USER/ADMIN_PASS— bootstrap admin credentials validated during login -
JWT_SECRET— HMAC secret for issuing and verifying JWT admin sessions (required) -
SESSION_TTL_SECONDS— lifetime of issued JWTs in seconds (min 300, max 43200; default 3600) -
DATABASE_PATH— SQLite file path (default./invio.dbinside container) -
BACKEND_PORTorPORT— listen port (default 3000) -
BASE_URL— optional base URL used when generating public share links - Security headers
-
SECURE_HEADERS_DISABLED— settrueonly to disable the default hardened headers (for development) -
ENABLE_HSTS— emitStrict-Transport-Securitywhen requests arrive over HTTPS -
CONTENT_SECURITY_POLICY— override the default API CSP if you expose extra hosts
-
- Demo mode controls
-
DEMO_MODE— settrueto enable demo mode (writable sandbox with periodic resets) -
DEMO_DB_PATH— path to pristine demo database snapshot used for resets -
DEMO_RESET_HOURS— interval in hours between automatic resets (default 0.5) -
DEMO_RESET_ON_START— reset database on app startup (default true)
-
Frontend
-
PORT— UI listen port (default 8000 in Compose) -
BACKEND_URL— base URL for backend API (e.g.http://backend:3000in Compose) - Auth/session tuning
-
SESSION_TTL_SECONDS— mirrors backend default for cookie expiry (default 3600) -
COOKIE_SECURE— setfalsefor local HTTP dev; defaults totrue(HTTPS only cookies)
-
- Security headers
-
FRONTEND_SECURE_HEADERS_DISABLED— disable hardened headers (development only, settrue) -
ENABLE_HSTS— emitStrict-Transport-Securitywhen the site is served via HTTPS -
FRONTEND_CONTENT_SECURITY_POLICY— override the default frontend CSP (allows Tailwind/DaisyUI/Google Fonts by default)
-
Docker Compose
- Named volume
invio_datastores persistent data under/app/datain the backend container. - Mount
./VERSIONinto the frontend container if you override the published images and want the dashboard version card to display accurately.