Add umami to ansible
This commit is contained in:
parent
7ff7dfe807
commit
ecd00fc75d
15 changed files with 91 additions and 49 deletions
_ansible/roles/acme-dns/templates
|
@ -1,23 +1,23 @@
|
|||
[general]
|
||||
listen = "0.0.0.0:53"
|
||||
protocol = "both"
|
||||
domain = "{{ acme_dns.domain }}"
|
||||
nsname = "{{ acme_dns.domain }}"
|
||||
nsadmin = "{{ acme_dns.nsadmin }}"
|
||||
domain = "{{ svc.domain }}"
|
||||
nsname = "{{ svc.domain }}"
|
||||
nsadmin = "{{ svc.nsadmin }}"
|
||||
records = [
|
||||
"{{ acme_dns.domain }}. A {{ acme_dns.records.a }}",
|
||||
"{{ acme_dns.domain }}. NS {{ acme_dns.domain }}.",
|
||||
"{{ svc.domain }}. A {{ svc.records.a }}",
|
||||
"{{ svc.domain }}. NS {{ svc.domain }}.",
|
||||
]
|
||||
debug = false
|
||||
|
||||
[database]
|
||||
engine = "postgres"
|
||||
connection = "postgres://{{ acme_dns.db.user }}:{{ acme_dns.db.pass }}@{{ acme_dns.db.host }}/{{ acme_dns.db.db }}"
|
||||
connection = "postgres://{{ svc.db.user }}:{{ svc.db.pass }}@{{ svc.db.host }}/{{ svc.db.db }}"
|
||||
|
||||
[api]
|
||||
ip = "0.0.0.0"
|
||||
disable_registration = false
|
||||
port = "80"
|
||||
port = "{{ svc.port }}"
|
||||
tls = "none"
|
||||
corsorigins = [
|
||||
"*"
|
||||
|
|
Reference in a new issue