You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.1 KiB
35 lines
1.1 KiB
# -----------------------------------------------------------------------------
|
|
# Django Environment Configuration Template
|
|
# Copy this file to .env or .env.dev and fill in your values.
|
|
# -----------------------------------------------------------------------------
|
|
|
|
# Django Core
|
|
DJANGO_SECRET_KEY=change-this-secret-key-in-production
|
|
DJANGO_DEBUG=True
|
|
DJANGO_ALLOWED_HOSTS=127.0.0.1,localhost
|
|
DJANGO_TRUSTED_ORIGINS=http://localhost:8000,http://127.0.0.1:8000
|
|
DJANGO_SETTINGS_MODULE=config.settings.base
|
|
|
|
# Database (PostgreSQL)
|
|
POSTGRES_DB=app_db
|
|
POSTGRES_USER=postgres
|
|
POSTGRES_PASSWORD=postgres
|
|
POSTGRES_HOST=postgres
|
|
POSTGRES_PORT=5432
|
|
|
|
# Redis & Cache & Celery Broker
|
|
REDIS_URL=redis://redis:6379/0
|
|
|
|
# Phone Numbers & Internationalization
|
|
PHONENUMBER_DEFAULT_REGION=US
|
|
|
|
# Monitoring & Error Tracking (Optional)
|
|
SENTRY_DSN=
|
|
|
|
# CORS Configuration (Production)
|
|
CORS_ALLOWED_ORIGINS=
|
|
|
|
# Centrifugo Real-Time Messaging Engine
|
|
CENTRIFUGO_API_URL=http://centrifugo:8000/api
|
|
CENTRIFUGO_SECRET=super_secret_centrifugo_token_key_hmac_256
|
|
CENTRIFUGO_API_KEY=centrifugo_internal_api_access_key
|