deploy/group_vars/group_vars.yml.tmpl
author ymh <ymh.work@gmail.com>
Fri, 30 Nov 2018 14:49:19 +0100
changeset 184 aac6db7cea99
parent 182 2dbb6ddbf645
permissions -rw-r--r--
first version of deploy script + set version to 0.1.0

---
# irinotes repository url
irinotes_repo: "https://www.iri.centrepompidou.fr/dev/hg/irinotes"

# irinites version, should be overriden from command line
irinotes_version: "HEAD"

# remote path for static files
# note : must not end with /
remote_static_path: ""

# remote path for nginx static file config
static_nginx_config: ""

# use the nginx ssl config template for static webserver of not
static_nginx_use_ssl: true

# static file domain
static_server_name: ""

# static url base
static_url_base: ""

# Remote static nginx service
static_http_service: "nginx"

# Static server nginx user
static_http_user: "www-data"
# Static server nginx group
static_http_group: "www-data"

# NGINX config
backend_upstream_name: "irinotes_backend"
backend_host: 127.0.0.1
backend_port: 8081
backend_url: ""


# dashboard log base path
log_base_path: ""

# backend config base path, i.e. the path where all configuration files are stored. (no slash)
backend_config_base: ""

# backend virtualenv path
backend_venv: ""

# backend application base url
backend_base_url: ""

# base url for static resources (ends with "/")
# default : /static/
backend_static_url: "{{backend_base_url}}/backend/static/"

# 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)
backend_static_root: ""

# The absolute path to the directory from where nginx will serve the backend static files
backend_nginx_static_root: "{{backend_static_root}}"


# base url for media (ends with "/")
# default : /media/
backend_media_url: "{{backend_base_url}}/backend/media/"

# Absolute filesystem path to the directory that will hold user-uploaded files (https://docs.djangoproject.com/en/1.11/ref/settings/#media-root)
backend_media_root: ""

# Absolute filesystem path to the directory from where nginx will serve the backend media files
backend_nginx_media_root: "{{backend_media_root}}"

# Secret key for the application. cf. https://docs.djangoproject.com/en/1.11/ref/settings/#secret-key
backend_secret_key: "REPLACE_SECRET_KEY"

# Debug the application. Default True
# DEBUG=<true|False>
backend_debug: "True"

# Comma separated values of authorized host. cf. https://docs.djangoproject.com/en/1.11/ref/settings/#allowed-hosts
# default: empty
backend_allowed_hosts: "{{static_server_name}}"

# 12factor inspired DATABASE_URL environment variable cf.https://github.com/kennethreitz/dj-database-url
# examples: postgres://<user>:<password>@<host>:<port>/<db_name>
# examples: sqlite:////full/path/to/your/database/file.sqlite
backend_database_url: ""

# path for the log file
backend_log_file: "{{log_base_path}}/backend.log"

# log level one of CRITICAL, ERROR, WARNING, INFO, DEBUG, NOTSET. Default: ERROR
backend_log_level: "DEBUG"

# expiration delta for JWT tokens (in seconds)
# default: 3600
backend_jwt_expiration_delta: 3600

# expiration refresh delta for JWT tokens (in seconds)
# default: 3600*24*7 = 604800
backend_jwt_refresh_expiration_delta: 604800

# annotations api supervisor configuration base path
backend_supervisor_conf_path: "/etc/supervisor.d"

network_status_interval: 2000
network_status_timeout: 2000
sync_interval: 20000