Files
lagomareGates/.env.example
2026-05-09 17:52:59 +02:00

22 lines
646 B
Plaintext

# Admin credentials (required on first run to seed the admin user)
ADMIN_USERNAME=admin
ADMIN_PASSWORD=changeme123
# JWT signing secret generate with: python -c "import secrets; print(secrets.token_hex(32))"
SECRET_KEY=replace-with-a-random-64-char-hex-string
# Port configuration
APP_PORT=8000
# CORS allowed origins (comma-separated)
CORS_ORIGINS=http://localhost:8000
# Trusted proxy IPs for correct client IP extraction (comma-separated)
TRUSTED_PROXY_IPS=127.0.0.1
# Database path (default: ./data/gates.db relative to project root)
# DATABASE_URL=sqlite:///./data/gates.db
# Logging configuration
LOG_LEVEL=INFO
#LOG_FILE=logs/app.log