Files
triviathang/.env.production.example
2026-01-12 21:23:08 -05:00

24 lines
729 B
Plaintext

# Production Environment Variables
# Copy this file to .env.production and fill in the values
# 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