File tree Expand file tree Collapse file tree 3 files changed +58
-0
lines changed
Expand file tree Collapse file tree 3 files changed +58
-0
lines changed Original file line number Diff line number Diff line change 1+ POSTGRES_USER=natours_user
2+ POSTGRES_PASSWORD=your_password_here
3+ POSTGRES_DB=natours_dev
Original file line number Diff line number Diff line change 1+ # Django Settings
2+ DEBUG = 1
3+ SECRET_KEY = your-secret-key-here
4+ DJANGO_ALLOWED_HOSTS = localhost 127.0.0.1 [::1]
5+ DJANGO_INITIALIZE_DATA = true
6+
7+ # Database Settings
8+ DATABASE = postgres
9+ SQL_ENGINE = django.contrib.gis.db.backends.postgis
10+ SQL_DATABASE = natours_dev
11+ SQL_USER = natours_user
12+ SQL_PASSWORD = your_password_here
13+ SQL_HOST = db
14+ SQL_PORT = 5432
15+
16+ # Email Settings (Brevo)
17+ BREVO_API_KEY = your_brevo_api_key_here
18+
19+ # Alternative Email Settings (Gmail)
20+ 21+ EMAIL_HOST_PASSWORD = your_app_specific_password
22+
23+ # AWS Settings (Production)
24+ AWS_ACCESS_KEY_ID = your_aws_access_key
25+ AWS_SECRET_ACCESS_KEY = your_aws_secret_key
26+ AWS_STORAGE_BUCKET_NAME = your_bucket_name
27+ AWS_S3_REGION_NAME = your_region
Original file line number Diff line number Diff line change 1+ # Django Settings
2+ DEBUG=0
3+ SECRET_KEY=your-production-secret-key-here
4+ DJANGO_ALLOWED_HOSTS=your-domain.com www.your-domain.com
5+
6+ # Database Settings
7+ DATABASE=postgres
8+ SQL_ENGINE=django.contrib.gis.db.backends.postgis
9+ SQL_DATABASE=natours_prod
10+ SQL_USER=natours_prod_user
11+ SQL_PASSWORD=your_production_password_here
12+ SQL_HOST=your-rds-endpoint
13+ SQL_PORT=5432
14+
15+ # AWS Settings
16+ AWS_ACCESS_KEY_ID=your_aws_access_key
17+ AWS_SECRET_ACCESS_KEY=your_aws_secret_key
18+ AWS_STORAGE_BUCKET_NAME=your_bucket_name
19+ AWS_S3_REGION_NAME=your_region
20+
21+ # SSL Settings
22+ VIRTUAL_HOST=your-domain.com
23+ VIRTUAL_PORT=8000
24+ LETSENCRYPT_HOST=your-domain.com
25+ 26+
27+ # Email Settings (Brevo)
28+ BREVO_API_KEY=your_production_brevo_api_key
You can’t perform that action at this time.
0 commit comments