infrastructure/playbooks/roles/wiki_js/vars/main.yml
Tobias Reisinger 05e79ae90a
Fix issues (backup, watchtower, firewall)
Remove remote_docker backups
Add option to monitor with watchtower
Add teamspeak ports to firewall
2024-11-08 00:05:55 +01:00

25 lines
636 B
YAML

---
wiki_js_svc:
domain: "{{ all_services | service_get_domain(role_name) }}"
port: 3000
caddy_extra: |
import analytics
db:
host: "{{ postgres.host }}"
port: "{{ postgres.port }}"
user: "{{ opentofu.postgresql_data.wiki_js.user }}"
pass: "{{ opentofu.postgresql_data.wiki_js.pass }}"
name: "{{ opentofu.postgresql_data.wiki_js.database }}"
wiki_js_env:
DB_TYPE: postgres
DB_HOST: "{{ svc.db.host }}"
DB_PORT: "{{ svc.db.port }}"
DB_USER: "{{ svc.db.user }}"
DB_PASS: "{{ svc.db.pass }}"
DB_NAME: "{{ svc.db.name }}"
DB_SSL: 1
wiki_js_compose:
watchtower: update
image: requarks/wiki