65 lines
1.7 KiB
YAML
65 lines
1.7 KiB
YAML
domain: extensions.blender.org
|
|
project_name: Blender Extensions
|
|
project_slug: blender-extensions
|
|
service_name: "{{ project_slug }}-{{ env }}"
|
|
background_service_name: '{{ service_name }}-background'
|
|
django_settings_module: blender_extensions.settings
|
|
uwsgi_module: blender_extensions.wsgi:application
|
|
max_requests: 1000
|
|
max_requests_jitter: 50
|
|
workers: 2
|
|
client_max_body_size: "200m"
|
|
python_version: "3.10"
|
|
delete_venv: false # set to true if venv has to be re-created from scratch
|
|
|
|
# Set to true if ingress == application:
|
|
# meaning that SSL is terminated by and Django app is run on the same host.
|
|
single_host: false
|
|
|
|
dir:
|
|
source: "/opt/{{ service_name }}"
|
|
static: "/var/www/{{ service_name }}/static"
|
|
media: "/var/www/{{ service_name }}/media"
|
|
errors: "/var/www/{{ service_name }}/html/errors"
|
|
|
|
env_file: "{{ dir.source }}/.env"
|
|
uwsgi_pid: "{{ dir.source }}/{{ service_name }}.pid"
|
|
uwsgi_socket: "{{ dir.source }}/uwsgi.sock"
|
|
|
|
nginx:
|
|
user: www-data
|
|
group: www-data
|
|
nginx_conf_dir: /etc/nginx
|
|
user: "extensions-{{ env }}"
|
|
group: "{{ nginx.group }}"
|
|
rate_limit:
|
|
name: 'hundred_per_minute'
|
|
size: '10m'
|
|
rate: '100r/m'
|
|
burst: 50
|
|
delay: 10
|
|
|
|
aliases: null # This project doesn't use cron
|
|
certbot:
|
|
email: root@blender.org
|
|
|
|
source_url: https://projects.blender.org/infrastructure/extensions-website.git
|
|
branch: production
|
|
db_name: extensions_{{ env }}
|
|
db_user: extensions_{{ env }}
|
|
bid_base_url: https://id.blender.org/
|
|
|
|
ssl_only: false
|
|
ca_certificate: /usr/local/share/ca-certificates/cloud-init-ca-cert-1.crt
|
|
|
|
packages_extra:
|
|
- clamav-daemon
|
|
- fangfrisch # replacement of clamav-unofficial-sigs
|
|
|
|
include_common_services:
|
|
- background
|
|
- background-restart
|
|
- clearsessions
|
|
- notify-email@
|
|
- queue-deletion-requests
|