This commit is contained in:
Jake Kasper
2025-08-21 07:14:28 -05:00
parent 2a46f7261e
commit b3662ea35e
11 changed files with 648 additions and 100 deletions

View File

@@ -2,15 +2,25 @@
# Copy this file to .env and fill in your values
# Database Configuration
DATABASE_URL=postgresql://turftracker:password123@db:5432/turftracker
# You can use either individual fields OR a full DATABASE_URL (DATABASE_URL takes precedence)
DB_HOST=db
DB_PORT=5432
DB_NAME=turftracker
DB_USER=turftracker
DB_PASSWORD=password123
# DATABASE_URL=postgresql://turftracker:password123@db:5432/turftracker
# JWT Secret - Change this to a strong random string in production
# JWT Secret - REQUIRED: Used for signing authentication tokens
# Generate a secure random string (see README for generation commands)
# NEVER use the default value in production!
JWT_SECRET=your-super-secret-jwt-key-change-this-in-production
# Google OAuth2 Configuration (Optional)
# Get these from Google Cloud Console
GOOGLE_CLIENT_ID=your-google-client-id
GOOGLE_CLIENT_SECRET=your-google-client-secret
# Authentik OAuth2 Configuration (Optional)
# Configure these to enable SSO login through your Authentik instance
AUTHENTIK_CLIENT_ID=your-authentik-client-id
AUTHENTIK_CLIENT_SECRET=your-authentik-client-secret
AUTHENTIK_BASE_URL=https://your-authentik-domain.com
AUTHENTIK_CALLBACK_URL=http://localhost:5000/api/auth/authentik/callback
# Weather API Configuration
# Get a free API key from https://openweathermap.org/api