41 lines
1.3 KiB
Plaintext
41 lines
1.3 KiB
Plaintext
# Database Configuration (AWS RDS)
|
|
DB_USER=recipes_user
|
|
DB_PASSWORD=your_secure_password_here
|
|
DB_NAME=recipes_db
|
|
DB_HOST=your-rds-endpoint.us-east-1.rds.amazonaws.com
|
|
DB_PORT=5432
|
|
|
|
# Email Configuration
|
|
SMTP_HOST=smtp.gmail.com
|
|
SMTP_PORT=587
|
|
SMTP_USER=your-email@gmail.com
|
|
SMTP_PASSWORD=your-app-password
|
|
SMTP_FROM=your-email@gmail.com
|
|
|
|
# Google OAuth
|
|
GOOGLE_CLIENT_ID=your-google-client-id
|
|
GOOGLE_CLIENT_SECRET=your-google-client-secret
|
|
GOOGLE_REDIRECT_URI=https://your-domain.com/auth/google/callback
|
|
FRONTEND_URL=https://your-domain.com
|
|
|
|
# Microsoft Entra ID (Azure AD) OAuth
|
|
AZURE_CLIENT_ID=your-azure-client-id
|
|
AZURE_CLIENT_SECRET=your-azure-client-secret
|
|
AZURE_TENANT_ID=consumers
|
|
AZURE_REDIRECT_URI=https://your-domain.com/auth/azure/callback
|
|
|
|
# Cloudflare R2 Backup Configuration
|
|
# Get these from your Cloudflare dashboard -> R2 -> Manage R2 API Tokens
|
|
R2_ENDPOINT=https://<account-id>.r2.cloudflarestorage.com
|
|
R2_ACCESS_KEY=your-r2-access-key-id
|
|
R2_SECRET_KEY=your-r2-secret-access-key
|
|
R2_BUCKET_NAME=recipes-backups
|
|
|
|
# Automatic Backup Schedule
|
|
# Options: test (every 1 minute), daily, weekly, disabled
|
|
BACKUP_INTERVAL=weekly
|
|
|
|
# Frontend API URL (for frontend container to connect to backend via docker-compose)
|
|
# Use the service name 'backend' from docker-compose.yaml
|
|
VITE_API_URL=http://backend:8000
|