2016-09-23 04:21:00 +03:00
|
|
|
|
2016-06-09 08:53:21 +03:00
|
|
|
# PostgreSQL
|
2018-02-07 22:52:52 +03:00
|
|
|
POSTGRES_PASSWORD=!!!SET POSTGRES_PASSWORD!!!
|
|
|
|
POSTGRES_USER=!!!SET POSTGRES_USER!!!
|
2017-11-13 23:08:47 +03:00
|
|
|
CONN_MAX_AGE=
|
2015-07-16 18:43:02 +03:00
|
|
|
|
2018-03-05 20:30:13 +03:00
|
|
|
# Gunicorn concurrency
|
|
|
|
WEB_CONCURRENCY=4
|
|
|
|
|
2017-08-11 12:16:15 +03:00
|
|
|
# Domain name, used by caddy
|
|
|
|
DOMAIN_NAME={{ cookiecutter.domain_name }}
|
|
|
|
|
2016-06-09 08:53:21 +03:00
|
|
|
# General settings
|
2017-01-09 21:53:30 +03:00
|
|
|
# DJANGO_READ_DOT_ENV_FILE=True
|
2015-11-06 21:23:44 +03:00
|
|
|
DJANGO_ADMIN_URL=
|
2015-07-16 18:43:02 +03:00
|
|
|
DJANGO_SETTINGS_MODULE=config.settings.production
|
2018-02-07 22:52:52 +03:00
|
|
|
DJANGO_SECRET_KEY=!!!SET DJANGO_SECRET_KEY!!!
|
2015-10-16 00:40:12 +03:00
|
|
|
DJANGO_ALLOWED_HOSTS=.{{ cookiecutter.domain_name }}
|
2016-06-09 08:53:21 +03:00
|
|
|
|
|
|
|
# AWS Settings
|
2015-07-16 18:43:02 +03:00
|
|
|
DJANGO_AWS_ACCESS_KEY_ID=
|
|
|
|
DJANGO_AWS_SECRET_ACCESS_KEY=
|
|
|
|
DJANGO_AWS_STORAGE_BUCKET_NAME=
|
2016-06-09 08:53:21 +03:00
|
|
|
|
|
|
|
# Used with email
|
2015-07-16 18:43:02 +03:00
|
|
|
DJANGO_MAILGUN_API_KEY=
|
|
|
|
DJANGO_SERVER_EMAIL=
|
2016-09-22 21:42:16 +03:00
|
|
|
MAILGUN_SENDER_DOMAIN=
|
2016-06-09 08:53:21 +03:00
|
|
|
|
|
|
|
# Security! Better to use DNS for this task, but you can use redirect
|
2015-10-04 00:54:29 +03:00
|
|
|
DJANGO_SECURE_SSL_REDIRECT=False
|
2016-06-09 08:53:21 +03:00
|
|
|
|
|
|
|
# django-allauth
|
2016-02-18 02:46:45 +03:00
|
|
|
DJANGO_ACCOUNT_ALLOW_REGISTRATION=True
|
2016-06-05 20:47:07 +03:00
|
|
|
{% if cookiecutter.use_sentry_for_error_reporting == 'y' -%}
|
2016-06-09 08:53:21 +03:00
|
|
|
# Sentry
|
2015-11-07 21:04:19 +03:00
|
|
|
DJANGO_SENTRY_DSN=
|
|
|
|
{% endif %}
|
2015-11-17 10:27:58 +03:00
|
|
|
{% if cookiecutter.use_opbeat == 'y' -%}
|
2017-08-23 13:12:37 +03:00
|
|
|
DJANGO_OPBEAT_ORGANIZATION_ID=
|
|
|
|
DJANGO_OPBEAT_APP_ID=
|
|
|
|
DJANGO_OPBEAT_SECRET_TOKEN=
|
2015-11-17 10:27:58 +03:00
|
|
|
{% endif %}
|
2016-06-18 05:07:45 +03:00
|
|
|
{% if cookiecutter.use_compressor == 'y' -%}
|
|
|
|
COMPRESS_ENABLED=
|
2016-09-22 21:42:16 +03:00
|
|
|
{% endif %}
|