devfund-website/playbooks/vars_common.yaml
Anna Sirota b6c4ee7ff1 Replace poetry with requirements{,_dev,_prod}.txt
Accidental backward-incompatible changes appear regularly in poetry,
which leads to a regular chore of fixing this part of tooling,
or having to stay on the old version of it for a very long time,
which is bound to break.
2024-07-01 17:11:03 +02:00

37 lines
1.0 KiB
YAML

domain: fund.blender.org
port: 8110
host: web-1.internal
project_name: Blender Development Fund
project_slug: blender-fund
service_name: "{{ project_slug }}-{{ env }}"
background_service_name: "{{ service_name }}-background"
django_settings_module: blender_fund.settings
uwsgi_module: blender_fund.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: "blender-fund-{{ env }}"
group: "{{ nginx.group }}"
mailto: cron@blender.org
certbot:
email: root@blender.org
source_url: https://projects.blender.org/infrastructure/devfund-website.git
branch: production