This repository has been archived on 2024-11-01. You can view files and clone it, but cannot push or open issues or pull requests.
services/_ansible/roles/umami/vars/main.yml

22 lines
524 B
YAML
Raw Normal View History

2023-06-13 18:48:16 +00:00
svc:
domain: "analytics.serguzim.me"
name: umami
port: 3000
db:
host: "{{ postgres.host }}"
user: "{{ vault_umami.db.user }}"
pass: "{{ vault_umami.db.pass }}"
db: umami
svc_env:
DATABASE_URL: postgres://{{ svc.db.user }}:{{ svc.db.pass }}@{{ svc.db.host }}/{{ svc.db.db }}
DATABASE_TYPE: postgresql
FORCE_SSL: 1
HOSTNAME: "{{ svc.domain }}"
HASH_SALT: "{{ vault_umami.hash_salt }}"
compose:
watchtower: true
image: docker.umami.dev/umami-software/umami:postgresql-latest
env: true