1
0

.env.example 1.3 KB

123456789101112131415161718192021222324252627282930313233
  1. # Entra ID / OIDC
  2. ENTRA_TENANT_ID=
  3. ENTRA_CLIENT_ID=
  4. ENTRA_CLIENT_SECRET=
  5. # Base URL the app is reachable at (no trailing slash).
  6. # Used to build the OIDC redirect URI {APP_BASE_URL}/auth/callback
  7. APP_BASE_URL=http://localhost:8080
  8. # Random string (>=32 bytes). Used to salt the session cookie name / CSRF tokens.
  9. SESSION_SECRET=
  10. # Path to the SQLite database file inside the container. Leave as-is unless
  11. # you have a specific reason to change it. The parent dir is the mounted
  12. # volume (/var/www/data).
  13. DB_PATH=/var/www/data/app.sqlite
  14. # Session handler files directory.
  15. SESSION_PATH=/var/www/data/sessions
  16. # 'production' disables verbose error output. Anything else is treated as dev.
  17. APP_ENV=production
  18. # ---------------------------------------------------------------------------
  19. # Local admin (optional) — lets you sign in without Entra, e.g. during initial
  20. # setup or for a fully on-prem deployment. Set BOTH email and password to
  21. # enable; leave blank to disable. The password is compared in plain text
  22. # against this env value — so .env must be readable only by the app user.
  23. # The resulting user is stored with entra_oid = "local:<email>" and is_admin=1.
  24. # ---------------------------------------------------------------------------
  25. LOCAL_ADMIN_EMAIL=
  26. LOCAL_ADMIN_PASSWORD=
  27. LOCAL_ADMIN_NAME=Local Admin