arbret/backend/env.example

22 lines
608 B
Text
Raw Normal View History

2025-12-18 22:24:46 +01:00
# Environment variables for the backend
# For local dev: use direnv with the root .envrc file (recommended)
# For production: set these in your deployment environment
# Required: Secret key for JWT token signing
# Generate with: python -c "import secrets; print(secrets.token_urlsafe(32))"
SECRET_KEY=
# Database URL
DATABASE_URL=postgresql+asyncpg://postgres:postgres@localhost:5432/arbret
2025-12-20 22:38:39 +01:00
# Cookie security: set to "true" in production with HTTPS
COOKIE_SECURE=false
2025-12-18 23:33:32 +01:00
# Dev user credentials (regular user)
DEV_USER_EMAIL=
DEV_USER_PASSWORD=
# Dev admin credentials
DEV_ADMIN_EMAIL=
DEV_ADMIN_PASSWORD=