extensions-website/playbooks/templates/dotenv
Anna Sirota f07c974de9 Playbooks and settings: override STATIC_ROOT
Place it under /var/www/ for consistency with other *.blender.org sites.
2022-11-10 15:21:47 +01:00

13 lines
516 B
Plaintext

DJANGO_SETTINGS_MODULE={{ django_settings_module }}
ALLOWED_HOSTS={{ domain }}
SECRET_KEY={{ secret_key | default(lookup('ansible.builtin.password', "/dev/null chars=ascii,digits length=32")) }}
STATIC_ROOT={{ dir.static }}
MEDIA_ROOT={{ dir.media }}
DEBUG=
SENTRY_DSN={{ sentry_dsn }}
SENTRY_ENVIRONMENT={{ env }}
BID_BASE_URL={{ bid_base_url }}
BID_OAUTH_CLIENT={{ bid_oauth_client }}
BID_OAUTH_SECRET={{ bid_oauth_secret }}
DATABASE_URL=postgres://{{ db_user }}:{{ db_password }}@{{ db_host }}:5432/{{ db_name }}