arbret/backend/env.example
2025-12-20 22:38:39 +01:00

21 lines
608 B
Text

# 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
# Cookie security: set to "true" in production with HTTPS
COOKIE_SECURE=false
# Dev user credentials (regular user)
DEV_USER_EMAIL=
DEV_USER_PASSWORD=
# Dev admin credentials
DEV_ADMIN_EMAIL=
DEV_ADMIN_PASSWORD=