diff -r e7c7e6e0a8bc -r 62bffc051e1c deploy/templates/backend_settings.ini.j2 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/deploy/templates/backend_settings.ini.j2 Wed Nov 28 15:45:37 2018 +0100 @@ -0,0 +1,45 @@ +[settings] +# Base url for the application. default='' +BASE_URL={{backend_base_url}} + +# base url for static resources (ends with "/") +# default : /static/ +STATIC_URL={{backend_static_url}} + +# The absolute path to the directory where collectstatic will collect static files for deployment. (https://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-STATIC_ROOT) +# default: /run/web/static +STATIC_ROOT={{backend_static_root}} + +# base url for static resources (ends with "/") +# default : /media/ +MEDIA_URL={{backend_media_url}} + +# Absolute filesystem path to the directory that will hold user-uploaded files (https://docs.djangoproject.com/en/1.11/ref/settings/#media-root) +# default: /run/web/media +MEDIA_ROOT={{backend_media_root}} + +# Secret key for the application. cf. https://docs.djangoproject.com/en/1.11/ref/settings/#secret-key +SECRET_KEY={{backend_secret_key}} + +# Debug the application. Default True +DEBUG={{backend_debug}} + +# Comma separated values of authorized host. cf. https://docs.djangoproject.com/en/1.11/ref/settings/#allowed-hosts +# default: empty +ALLOWED_HOSTS={{backend_allowed_hosts}} + +# 12factor inspired DATABASE_URL environment variable cf.https://github.com/kennethreitz/dj-database-url +# examples: postgres://:@:/ +# examples: sqlite:////full/path/to/your/database/file.sqlite +# default: sqlite:////run/db/db.sqlite3 +DATABASE_URL={{backend_database_url}} + +# path for the log file +# default: /run/log/log.txt +LOG_FILE={{backend_log_file}} + +# log level one of CRITICAL, ERROR, WARNING, INFO, DEBUG, NOTSET. Default: ERROR +LOG_LEVEL={{backend_log_level}} + +JWT_EXPIRATION_DELTA={{backend_jwt_expiration_delta}} +JWT_REFRESH_EXPIRATION_DELTA={{backend_jwt_refresh_expiration_delta}}