productionize
This commit is contained in:
23
.env.production.example
Normal file
23
.env.production.example
Normal file
@@ -0,0 +1,23 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user