|
180
|
1 |
[settings]
|
|
|
2 |
# Base url for the application. default=''
|
|
|
3 |
BASE_URL={{backend_base_url}}
|
|
|
4 |
|
|
|
5 |
# base url for static resources (ends with "/")
|
|
|
6 |
# default : /static/
|
|
|
7 |
STATIC_URL={{backend_static_url}}
|
|
|
8 |
|
|
|
9 |
# 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)
|
|
|
10 |
# default: <path to irinotes repository clone>/run/web/static
|
|
|
11 |
STATIC_ROOT={{backend_static_root}}
|
|
|
12 |
|
|
|
13 |
# base url for static resources (ends with "/")
|
|
|
14 |
# default : /media/
|
|
|
15 |
MEDIA_URL={{backend_media_url}}
|
|
|
16 |
|
|
|
17 |
# Absolute filesystem path to the directory that will hold user-uploaded files (https://docs.djangoproject.com/en/1.11/ref/settings/#media-root)
|
|
|
18 |
# default: <path to irinotes repository clone>/run/web/media
|
|
|
19 |
MEDIA_ROOT={{backend_media_root}}
|
|
|
20 |
|
|
|
21 |
# Secret key for the application. cf. https://docs.djangoproject.com/en/1.11/ref/settings/#secret-key
|
|
|
22 |
SECRET_KEY={{backend_secret_key}}
|
|
|
23 |
|
|
|
24 |
# Debug the application. Default True
|
|
|
25 |
DEBUG={{backend_debug}}
|
|
|
26 |
|
|
|
27 |
# Comma separated values of authorized host. cf. https://docs.djangoproject.com/en/1.11/ref/settings/#allowed-hosts
|
|
|
28 |
# default: empty
|
|
|
29 |
ALLOWED_HOSTS={{backend_allowed_hosts}}
|
|
|
30 |
|
|
|
31 |
# 12factor inspired DATABASE_URL environment variable cf.https://github.com/kennethreitz/dj-database-url
|
|
|
32 |
# examples: postgres://<user>:<password>@<host>:<port>/<db_name>
|
|
|
33 |
# examples: sqlite:////full/path/to/your/database/file.sqlite
|
|
|
34 |
# default: sqlite:///<path to irinotes repository clone>/run/db/db.sqlite3
|
|
|
35 |
DATABASE_URL={{backend_database_url}}
|
|
|
36 |
|
|
|
37 |
# path for the log file
|
|
|
38 |
# default: <path to irinotes repository clone>/run/log/log.txt
|
|
|
39 |
LOG_FILE={{backend_log_file}}
|
|
|
40 |
|
|
|
41 |
# log level one of CRITICAL, ERROR, WARNING, INFO, DEBUG, NOTSET. Default: ERROR
|
|
|
42 |
LOG_LEVEL={{backend_log_level}}
|
|
|
43 |
|
|
|
44 |
JWT_EXPIRATION_DELTA={{backend_jwt_expiration_delta}}
|
|
|
45 |
JWT_REFRESH_EXPIRATION_DELTA={{backend_jwt_refresh_expiration_delta}}
|