29 lines
631 B
YAML
29 lines
631 B
YAML
|
---
|
||
|
acme_dns_svc:
|
||
|
domain: "{{ acme_dns.host }}"
|
||
|
name: acme-dns
|
||
|
port: 80
|
||
|
nsadmin: "{{ admin_email | regex_replace('@', '.') }}"
|
||
|
records:
|
||
|
a: "{{ ansible_facts.default_ipv4.address }}"
|
||
|
aaaa: "{{ ansible_facts.default_ipv6.address }}"
|
||
|
db:
|
||
|
host: "{{ postgres.host }}"
|
||
|
port: "{{ postgres.port }}"
|
||
|
user: "{{ vault_acmedns.db.user }}"
|
||
|
pass: "{{ vault_acmedns.db.pass }}"
|
||
|
db: acme_dns
|
||
|
|
||
|
acme_dns_compose:
|
||
|
watchtower: true
|
||
|
monitoring: true
|
||
|
image: joohoi/acme-dns
|
||
|
volumes:
|
||
|
- ./config:/etc/acme-dns:ro
|
||
|
file:
|
||
|
services:
|
||
|
app:
|
||
|
ports:
|
||
|
- "53:53"
|
||
|
- 53:53/udp
|