27 lines
784 B
Plaintext
27 lines
784 B
Plaintext
# Production Environment Variables
|
|
# Copy this file to .env.production and fill in the values
|
|
|
|
# Flask app location
|
|
FLASK_APP=backend.app:create_app
|
|
|
|
# Backend port (defaults to 5001 if not set)
|
|
PORT=5001
|
|
|
|
# CORS origins (use your domain in production, or * to allow all)
|
|
CORS_ORIGINS=https://trivia.torrtle.co
|
|
|
|
# Authelia OIDC Configuration
|
|
# REQUIRED: Set these values to match your Authelia instance
|
|
OIDC_ISSUER=https://auth.torrtle.co
|
|
OIDC_CLIENT_ID=trivia-app
|
|
OIDC_CLIENT_SECRET=your_client_secret_here
|
|
|
|
# OAuth redirect URI (must match your domain)
|
|
OIDC_REDIRECT_URI=https://trivia.torrtle.co/api/auth/callback
|
|
|
|
# Frontend URL (must match your domain)
|
|
FRONTEND_URL=https://trivia.torrtle.co
|
|
|
|
# Cookie security (set to 'true' in production with HTTPS)
|
|
SESSION_COOKIE_SECURE=true
|