| author | ymh <ymh.work@gmail.com> |
| Tue, 29 Mar 2022 11:23:56 +0200 | |
| changeset 211 | 244a90638e80 |
| parent 184 | aac6db7cea99 |
| permissions | -rw-r--r-- |
| 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 |
||
|
184
aac6db7cea99
first version of deploy script + set version to 0.1.0
ymh <ymh.work@gmail.com>
parents:
182
diff
changeset
|
21 |
# static url base |
|
aac6db7cea99
first version of deploy script + set version to 0.1.0
ymh <ymh.work@gmail.com>
parents:
182
diff
changeset
|
22 |
static_url_base: "" |
|
aac6db7cea99
first version of deploy script + set version to 0.1.0
ymh <ymh.work@gmail.com>
parents:
182
diff
changeset
|
23 |
|
| 180 | 24 |
# Remote static nginx service |
25 |
static_http_service: "nginx" |
|
26 |
||
27 |
# Static server nginx user |
|
28 |
static_http_user: "www-data" |
|
29 |
# Static server nginx group |
|
30 |
static_http_group: "www-data" |
|
31 |
||
32 |
# NGINX config |
|
33 |
backend_upstream_name: "irinotes_backend" |
|
34 |
backend_host: 127.0.0.1 |
|
35 |
backend_port: 8081 |
|
36 |
backend_url: "" |
|
37 |
||
38 |
||
39 |
# dashboard log base path |
|
40 |
log_base_path: "" |
|
41 |
||
42 |
# backend config base path, i.e. the path where all configuration files are stored. (no slash) |
|
43 |
backend_config_base: "" |
|
44 |
||
45 |
# backend virtualenv path |
|
46 |
backend_venv: "" |
|
47 |
||
48 |
# backend application base url |
|
49 |
backend_base_url: "" |
|
50 |
||
51 |
# base url for static resources (ends with "/") |
|
52 |
# default : /static/ |
|
53 |
backend_static_url: "{{backend_base_url}}/backend/static/" |
|
54 |
||
55 |
# 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) |
|
56 |
backend_static_root: "" |
|
57 |
||
58 |
# The absolute path to the directory from where nginx will serve the backend static files |
|
59 |
backend_nginx_static_root: "{{backend_static_root}}" |
|
60 |
||
61 |
||
62 |
# base url for media (ends with "/") |
|
63 |
# default : /media/ |
|
64 |
backend_media_url: "{{backend_base_url}}/backend/media/" |
|
65 |
||
66 |
# Absolute filesystem path to the directory that will hold user-uploaded files (https://docs.djangoproject.com/en/1.11/ref/settings/#media-root) |
|
67 |
backend_media_root: "" |
|
68 |
||
69 |
# Absolute filesystem path to the directory from where nginx will serve the backend media files |
|
70 |
backend_nginx_media_root: "{{backend_media_root}}" |
|
71 |
||
72 |
# Secret key for the application. cf. https://docs.djangoproject.com/en/1.11/ref/settings/#secret-key |
|
73 |
backend_secret_key: "REPLACE_SECRET_KEY" |
|
74 |
||
75 |
# Debug the application. Default True |
|
76 |
# DEBUG=<true|False> |
|
77 |
backend_debug: "True" |
|
78 |
||
79 |
# Comma separated values of authorized host. cf. https://docs.djangoproject.com/en/1.11/ref/settings/#allowed-hosts |
|
80 |
# default: empty |
|
81 |
backend_allowed_hosts: "{{static_server_name}}" |
|
82 |
||
83 |
# 12factor inspired DATABASE_URL environment variable cf.https://github.com/kennethreitz/dj-database-url |
|
84 |
# examples: postgres://<user>:<password>@<host>:<port>/<db_name> |
|
85 |
# examples: sqlite:////full/path/to/your/database/file.sqlite |
|
86 |
backend_database_url: "" |
|
87 |
||
88 |
# path for the log file |
|
89 |
backend_log_file: "{{log_base_path}}/backend.log" |
|
90 |
||
91 |
# log level one of CRITICAL, ERROR, WARNING, INFO, DEBUG, NOTSET. Default: ERROR |
|
92 |
backend_log_level: "DEBUG" |
|
93 |
||
94 |
# expiration delta for JWT tokens (in seconds) |
|
95 |
# default: 3600 |
|
96 |
backend_jwt_expiration_delta: 3600 |
|
97 |
||
98 |
# expiration refresh delta for JWT tokens (in seconds) |
|
99 |
# default: 3600*24*7 = 604800 |
|
100 |
backend_jwt_refresh_expiration_delta: 604800 |
|
101 |
||
102 |
# annotations api supervisor configuration base path |
|
103 |
backend_supervisor_conf_path: "/etc/supervisor.d" |
|
104 |
||
| 182 | 105 |
network_status_interval: 2000 |
106 |
network_status_timeout: 2000 |
|
107 |
sync_interval: 20000 |
|
| 180 | 108 |
|
| 182 | 109 |
|
110 |