2023-05-10 09:02:59 +02:00
|
|
|
# Application configuration variables
|
|
|
|
APP_NAME=project_name
|
2023-05-10 09:31:01 +02:00
|
|
|
APP_HOST=0.0.0.0
|
2023-05-10 09:02:59 +02:00
|
|
|
APP_PORT=8000
|
2023-05-10 12:09:50 +02:00
|
|
|
SECRET_KEY='ur secret key'
|
2023-05-15 15:00:20 +02:00
|
|
|
APP_ENV='dev' # Could be dev, prod or test
|
2023-05-10 12:09:50 +02:00
|
|
|
DEBUG=True
|
2023-05-10 09:11:23 +02:00
|
|
|
ALLOWED_HOSTS='app.backend.dev'
|
2023-05-10 12:29:36 +02:00
|
|
|
CSRF_TRUSTED_ORIGINS='https://*.backend.dev'
|
2023-05-10 12:25:09 +02:00
|
|
|
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
|
2023-05-10 09:31:01 +02:00
|
|
|
LETSENCRYPT_EMAIL=your_email
|
|
|
|
APP_DOMAIN=app.backend.dev
|