2023-05-10 09:02:59 +02:00
|
|
|
# Application configuration variables
|
|
|
|
APP_NAME=project_name
|
2023-05-10 09:11:23 +02:00
|
|
|
APP_HOST=app.backend.dev
|
2023-05-10 09:02:59 +02:00
|
|
|
APP_PORT=8000
|
2023-05-10 09:11:23 +02:00
|
|
|
APP_SECRET_KEY='ur secret key'
|
2023-05-10 09:02:59 +02:00
|
|
|
APP_ENV=dev
|
2023-05-10 09:11:23 +02:00
|
|
|
DJANGO_SETTINGS_MODULE=project_name.settings.dev
|
|
|
|
ALLOWED_HOSTS='app.backend.dev'
|
|
|
|
CSRF_TRUSTED_ORIGINS='http://app.backend.dev'
|
|
|
|
CORS_ALLOWED_ORIGINS=['http://app.backend.dev','http://localhost:3000']
|
2023-05-10 09:02:59 +02:00
|
|
|
|
|
|
|
# Postgres configuration variables
|
|
|
|
POSTGRES_USER=postgres
|
|
|
|
POSTGRES_PASSWORD=postgres
|
|
|
|
POSTGRES_DB=postgres
|
|
|
|
POSTGRES_PORT=5432
|
|
|
|
POSTGRES_HOST=db
|
|
|
|
|
2023-05-10 09:11:23 +02:00
|
|
|
|
|
|
|
# Traefik configuration variables
|
|
|
|
LETSENCRYPT_EMAIL=your_email
|