infrastructure/roles/umami/vars/main.yml

25 lines
711 B
YAML

---
umami_db_host: "{{ postgres.host }}"
umami_db_user: "{{ opentofu.postgresql_service_roles.umami.name }}"
umami_db_pass: "{{ opentofu.postgresql_service_roles.umami.password }}"
umami_db_database: umami
umami_hash_salt: "{{ vault_umami.hash_salt }}"
umami_docker_image: docker.umami.dev/umami-software/umami:postgresql-latest
umami_svc:
domain: analytics.serguzim.me
name: umami
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: true
image: "{{ umami_docker_image }}"