This repository has been archived on 2025-04-27. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
newsreader-ansible/templates/env.j2
2023-07-02 12:56:44 +02:00

30 lines
940 B
Django/Jinja

POSTGRES_HOST='{{ postgres_host }}'
POSTGRES_PORT='{{ postgres_port }}'
POSTGRES_DB='{{ postgres_db }}'
POSTGRES_USER='{{ postgres_user }}'
POSTGRES_PASSWORD='{{ postgres_password }}'
DJANGO_SETTINGS_MODULE='{{ django_settings_module }}'
DJANGO_SECRET_KEY='{{ django_secret_key }}'
NGINX_HTTP_PORT='{{ nginx_http_port }}'
# TODO: setup email configuration
EMAIL_HOST='{{ email_host }}'
EMAIL_PORT='{{ email_port }}'
EMAIL_HOST_USER='{{ email_user }}'
EMAIL_HOST_PASSWORD='{{ email_password }}'
EMAIL_USE_TLS={{ email_tls }}
EMAIL_USE_SSL={{ email_ssl }}
EMAIL_DEFAULT_FROM='{{ email_user }}'
REDDIT_CLIENT_ID='{{ reddit_client_id }}'
REDDIT_CLIENT_SECRET='{{ reddit_client_secret }}'
REDDIT_CALLBACK_URL='{{ reddit_callback_url }}'
TWITTER_CONSUMER_ID='{{ twitter_client_id }}'
TWITTER_CONSUMER_SECRET='{{ twitter_client_secret }}'
TWITTER_REDIRECT_URL='{{ twitter_redirect_url }}'
SENTRY_DSN='{{ sentry_dsn }}'
ADMINS='{{ admins }}'