# Paper Dynasty Game Engine - Environment Variables # Copy this file to .env and update with your actual values # ============================================================================ # Application # ============================================================================ APP_ENV=development DEBUG=true SECRET_KEY=your-secret-key-at-least-32-characters-long # ============================================================================ # Database # ============================================================================ # Update with your actual PostgreSQL server credentials # Format: postgresql+asyncpg://username:password@hostname:port/database DATABASE_URL=postgresql+asyncpg://paperdynasty:your-password@your-db-server:5432/paperdynasty_dev # ============================================================================ # Discord OAuth # ============================================================================ # Get these from Discord Developer Portal: https://discord.com/developers/applications DISCORD_CLIENT_ID=your-discord-client-id DISCORD_CLIENT_SECRET=your-discord-client-secret DISCORD_REDIRECT_URI=http://localhost:3000/auth/callback # ============================================================================ # League REST APIs # ============================================================================ # SBA League API SBA_API_URL=https://sba-api.example.com SBA_API_KEY=your-sba-api-key # PD League API PD_API_URL=https://pd-api.example.com PD_API_KEY=your-pd-api-key # ============================================================================ # CORS Origins (comma-separated) # ============================================================================ CORS_ORIGINS=http://localhost:3000,http://localhost:3001 # ============================================================================ # Redis (optional - for caching) # ============================================================================ # When using Docker Compose, Redis is automatically available at redis://redis:6379 # When running locally, use redis://localhost:6379 # REDIS_URL=redis://localhost:6379