|
180
|
1 |
--- |
|
|
2 |
# irinotes repository url |
|
|
3 |
irinotes_repo: "https://www.iri.centrepompidou.fr/dev/hg/irinotes" |
|
|
4 |
|
|
|
5 |
# irinites version, should be overriden from command line |
|
|
6 |
irinotes_version: "HEAD" |
|
|
7 |
|
|
|
8 |
# remote path for static files |
|
|
9 |
# note : must not end with / |
|
|
10 |
remote_static_path: "" |
|
|
11 |
|
|
|
12 |
# remote path for nginx static file config |
|
|
13 |
static_nginx_config: "" |
|
|
14 |
|
|
|
15 |
# use the nginx ssl config template for static webserver of not |
|
|
16 |
static_nginx_use_ssl: true |
|
|
17 |
|
|
|
18 |
# static file domain |
|
|
19 |
static_server_name: "" |
|
|
20 |
|
|
|
21 |
# Remote static nginx service |
|
|
22 |
static_http_service: "nginx" |
|
|
23 |
|
|
|
24 |
# Static server nginx user |
|
|
25 |
static_http_user: "www-data" |
|
|
26 |
# Static server nginx group |
|
|
27 |
static_http_group: "www-data" |
|
|
28 |
|
|
|
29 |
# NGINX config |
|
|
30 |
backend_upstream_name: "irinotes_backend" |
|
|
31 |
backend_host: 127.0.0.1 |
|
|
32 |
backend_port: 8081 |
|
|
33 |
backend_url: "" |
|
|
34 |
|
|
|
35 |
|
|
|
36 |
# dashboard log base path |
|
|
37 |
log_base_path: "" |
|
|
38 |
|
|
|
39 |
# backend config base path, i.e. the path where all configuration files are stored. (no slash) |
|
|
40 |
backend_config_base: "" |
|
|
41 |
|
|
|
42 |
# backend virtualenv path |
|
|
43 |
backend_venv: "" |
|
|
44 |
|
|
|
45 |
# backend application base url |
|
|
46 |
backend_base_url: "" |
|
|
47 |
|
|
|
48 |
# base url for static resources (ends with "/") |
|
|
49 |
# default : /static/ |
|
|
50 |
backend_static_url: "{{backend_base_url}}/backend/static/" |
|
|
51 |
|
|
|
52 |
# 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) |
|
|
53 |
backend_static_root: "" |
|
|
54 |
|
|
|
55 |
# The absolute path to the directory from where nginx will serve the backend static files |
|
|
56 |
backend_nginx_static_root: "{{backend_static_root}}" |
|
|
57 |
|
|
|
58 |
|
|
|
59 |
# base url for media (ends with "/") |
|
|
60 |
# default : /media/ |
|
|
61 |
backend_media_url: "{{backend_base_url}}/backend/media/" |
|
|
62 |
|
|
|
63 |
# Absolute filesystem path to the directory that will hold user-uploaded files (https://docs.djangoproject.com/en/1.11/ref/settings/#media-root) |
|
|
64 |
backend_media_root: "" |
|
|
65 |
|
|
|
66 |
# Absolute filesystem path to the directory from where nginx will serve the backend media files |
|
|
67 |
backend_nginx_media_root: "{{backend_media_root}}" |
|
|
68 |
|
|
|
69 |
# Secret key for the application. cf. https://docs.djangoproject.com/en/1.11/ref/settings/#secret-key |
|
|
70 |
backend_secret_key: "REPLACE_SECRET_KEY" |
|
|
71 |
|
|
|
72 |
# Debug the application. Default True |
|
|
73 |
# DEBUG=<true|False> |
|
|
74 |
backend_debug: "True" |
|
|
75 |
|
|
|
76 |
# Comma separated values of authorized host. cf. https://docs.djangoproject.com/en/1.11/ref/settings/#allowed-hosts |
|
|
77 |
# default: empty |
|
|
78 |
backend_allowed_hosts: "{{static_server_name}}" |
|
|
79 |
|
|
|
80 |
# 12factor inspired DATABASE_URL environment variable cf.https://github.com/kennethreitz/dj-database-url |
|
|
81 |
# examples: postgres://<user>:<password>@<host>:<port>/<db_name> |
|
|
82 |
# examples: sqlite:////full/path/to/your/database/file.sqlite |
|
|
83 |
backend_database_url: "" |
|
|
84 |
|
|
|
85 |
# path for the log file |
|
|
86 |
backend_log_file: "{{log_base_path}}/backend.log" |
|
|
87 |
|
|
|
88 |
# log level one of CRITICAL, ERROR, WARNING, INFO, DEBUG, NOTSET. Default: ERROR |
|
|
89 |
backend_log_level: "DEBUG" |
|
|
90 |
|
|
|
91 |
# expiration delta for JWT tokens (in seconds) |
|
|
92 |
# default: 3600 |
|
|
93 |
backend_jwt_expiration_delta: 3600 |
|
|
94 |
|
|
|
95 |
# expiration refresh delta for JWT tokens (in seconds) |
|
|
96 |
# default: 3600*24*7 = 604800 |
|
|
97 |
backend_jwt_refresh_expiration_delta: 604800 |
|
|
98 |
|
|
|
99 |
# annotations api supervisor configuration base path |
|
|
100 |
backend_supervisor_conf_path: "/etc/supervisor.d" |
|
|
101 |
|
|
|
102 |
|