28 lines
751 B
Plaintext
28 lines
751 B
Plaintext
DEBUG=False
|
|
ENVIRONMENT=production
|
|
DJANGO_ENVIRONMENT=production
|
|
DJANGO_SETTINGS_MODULE=dbapp.settings.production
|
|
SECRET_KEY=django-insecure-dev-key-only-for-production
|
|
|
|
# Database Configuration
|
|
DB_ENGINE=django.contrib.gis.db.backends.postgis
|
|
DB_NAME=geodb
|
|
DB_USER=geralt
|
|
DB_PASSWORD=123456
|
|
DB_HOST=db
|
|
DB_PORT=5432
|
|
|
|
# Allowed Hosts
|
|
ALLOWED_HOSTS=localhost,127.0.0.1,0.0.0.0
|
|
|
|
# CSRF Trusted Origins (include port if using non-standard port)
|
|
CSRF_TRUSTED_ORIGINS=http://localhost,http://127.0.0.1,http://localhost:8080,http://127.0.0.1:8080
|
|
|
|
# PostgreSQL Configuration
|
|
POSTGRES_DB=geodb
|
|
POSTGRES_USER=geralt
|
|
POSTGRES_PASSWORD=123456
|
|
|
|
# Redis Configuration
|
|
REDIS_URL=redis://redis:6379/1
|
|
CELERY_BROKER_URL=redis://redis:6379/0 |