Something went wrong. Try again.
Track limited-time free drops across Twitch, Kick, and Chzzk. ttvdrops.lovinator.space
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374# Environment variables for ttvdrops Django application# Copy this file to `.env` and fill in the appropriate values before running the application.# For local development, you can use the default values provided here, but make sure to change the secret key and Twitch API credentials for production use.
# Debug mode (set to False in production)DEBUG=True
# Base URL used for absolute URL generationBASE_URL=https://ttvdrops.lovinator.space
# 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 tokenTWITCH_CLIENT_ID=your-twitch-client-idTWITCH_CLIENT_SECRET=your-twitch-client-secret# Optional: if omitted, some commands can fetch an app access token using the client credentialsTWITCH_ACCESS_TOKEN=
# 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 credentialsEMAIL_HOST_USER=your-email@gmail.comEMAIL_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 secondsEMAIL_TIMEOUT=10# PostgreSQL Configuration
POSTGRES_PASSWORD=POSTGRES_USER=ttvdropsPOSTGRES_DB=ttvdrops
# PostgreSQL Host and PortPOSTGRES_HOST=/run/postgresql
# Note: Changed from 5432 to 6432 to use PgBouncerPOSTGRES_PORT=5432
# Optional database connection tuning# CONN_MAX_AGE=60# CONN_HEALTH_CHECKS=True# DB_CONNECT_TIMEOUT=10
# Use SQLite instead of PostgreSQL (useful for local development)USE_SQLITE=False
# Where to store Twitch API responsesTTVDROPS_IMPORTED_DIR=/mnt/fourteen/Data/Responses/imported
# Where to store Twitch API responses that failed processing (e.g. due to missing fields or unrecognized formats)TTVDROPS_BROKEN_DIR=/mnt/fourteen/Data/Responses/broken
# Where to store Twitch API responses that are pending processing (e.g. waiting for a periodic task to process them)TTVDROPS_PENDING_DIR=/mnt/fourteen/Data/Responses/pending
# Redis Configuration for caching and CeleryREDIS_URL_CACHE=unix:///var/run/redis/redis.sock?db=0REDIS_URL_CELERY=unix:///var/run/redis/redis.sock?db=1