46 lines
1.2 KiB
YAML
46 lines
1.2 KiB
YAML
domain: id.staging.blender.org
|
|
port: 8100
|
|
project_name: Blender ID
|
|
project_slug: blender-id
|
|
service_name: "{{ project_slug }}-{{ env }}"
|
|
background_service_name: "{{ service_name }}-background"
|
|
django_settings_module: blenderid.settings
|
|
uwsgi_module: blenderid.wsgi:application
|
|
python_version: "3.10"
|
|
delete_venv: false # set to true if venv has to be re-created from scratch
|
|
|
|
dir:
|
|
source: "/opt/{{ service_name }}"
|
|
static: "/var/www/{{ service_name }}/static"
|
|
media: "/var/www/{{ service_name }}/media"
|
|
errors: "/var/www/{{ service_name }}/html/errors"
|
|
script_dir: /usr/local/bin
|
|
backup_dir: /mnt/backup
|
|
|
|
env_file: "{{ dir.source }}/.env"
|
|
uwsgi_pid: "{{ dir.source }}/{{ service_name }}.pid"
|
|
|
|
nginx:
|
|
user: www-data
|
|
group: www-data
|
|
nginx_conf_dir: /etc/nginx
|
|
user: "bid-{{ env }}"
|
|
group: "{{ nginx.group }}"
|
|
client_max_body_size: '10m'
|
|
rate_limit:
|
|
name: 'hundred_per_minute'
|
|
size: '10m'
|
|
rate: '100r/m'
|
|
burst: 50
|
|
delay: 10
|
|
|
|
mailto: cron@blender.org
|
|
certbot:
|
|
email: root@blender.org
|
|
|
|
source_url: https://projects.blender.org/infrastructure/{{ project_slug }}.git
|
|
branch: production
|
|
|
|
ssl_only: false
|
|
PGSSLROOTCERT: /usr/local/share/ca-certificates/cloud-init-ca-cert-1.crt
|