infrastructure/playbooks/roles/umami/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

24 lines
750 B
YAML

---
umami_db_host: "{{ postgres.host }}"
umami_db_user: "{{ opentofu.postgresql_data.umami.user }}"
umami_db_pass: "{{ opentofu.postgresql_data.umami.pass }}"
umami_db_database: "{{ opentofu.postgresql_data.umami.database }}"
umami_hash_salt: "{{ vault_umami.hash_salt }}"
umami_docker_image: docker.umami.dev/umami-software/umami:postgresql-latest
umami_svc:
domain: "{{ all_services | service_get_domain(role_name) }}"
port: 3000
umami_env:
DATABASE_URL: postgres://{{ umami_db_user }}:{{ umami_db_pass }}@{{ umami_db_host }}/{{ umami_db_database }}
DATABASE_TYPE: postgresql
FORCE_SSL: 1
HASH_SALT: "{{ umami_hash_salt }}"
CLIENT_IP_HEADER: X-Analytics-IP
umami_compose:
watchtower: update
image: "{{ umami_docker_image }}"