ttvdrops/.env.example
Joakim Helleśen 302ef16975
All checks were successful
Deploy to Server / deploy (push) Successful in 19s
Add PostgreSQL configuration to .env.example
2026-03-23 20:54:42 +01:00

51 lines
1.5 KiB
Text

# Django Configuration
# Set to False in production
DEBUG=True
# Django Secret Key
# Generate a new secret key for production: python -c 'from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())'
DJANGO_SECRET_KEY=your-secret-key-here
# Twitch API Configuration
# Get your Client ID and Client Secret from https://dev.twitch.tv/console
# You can use either an app access token or user access token
TWITCH_CLIENT_ID=your-twitch-client-id
TWITCH_CLIENT_SECRET=your-twitch-client-secret
# Email Configuration
# SMTP Host (examples below)
EMAIL_HOST=smtp.gmail.com
# SMTP Port (common ports: 587 for TLS, 465 for SSL, 25 for unencrypted)
EMAIL_PORT=587
# Email credentials
EMAIL_HOST_USER=your-email@gmail.com
EMAIL_HOST_PASSWORD=your-app-password-here
# Connection security
# Use TLS (True for most providers like Gmail, Outlook)
EMAIL_USE_TLS=True
# Use SSL (False for most providers, True for some older configurations)
EMAIL_USE_SSL=False
# Connection timeout in seconds
EMAIL_TIMEOUT=10
# PostgreSQL Configuration
POSTGRES_PASSWORD=
POSTGRES_USER=ttvdrops
POSTGRES_DB=ttvdrops
# PostgreSQL Host and Port
POSTGRES_HOST=/run/postgresql
# Note: Changed from 5432 to 6432 to use PgBouncer
POSTGRES_PORT=5432
# Where to store Twitch API responses
TTVDROPS_IMPORTED_DIR=/mnt/fourteen/Data/Responses/imported
TTVDROPS_BROKEN_DIR=/mnt/fourteen/Data/Responses/broken
# Redis Configuration
REDIS_URL_CACHE=unix:///var/run/redis/redis.sock?db=0
REDIS_URL_CELERY=unix:///var/run/redis/redis.sock?db=1