26 lines
549 B
YAML
26 lines
549 B
YAML
svc:
|
|
domain: "acme.serguzim.me"
|
|
name: acme-dns
|
|
port: 80
|
|
nsadmin: "{{ admin_email | regex_replace('@', '.') }}"
|
|
records:
|
|
a: "{{ ansible_facts.default_ipv4.address }}"
|
|
db:
|
|
host: "{{ postgres.host }}"
|
|
port: "{{ postgres.port }}"
|
|
user: "{{ vault_acmedns.db.user }}"
|
|
pass: "{{ vault_acmedns.db.pass }}"
|
|
db: acme_dns
|
|
|
|
|
|
compose:
|
|
watchtower: true
|
|
image: joohoi/acme-dns
|
|
file:
|
|
services:
|
|
app:
|
|
ports:
|
|
- "53:53"
|
|
- "53:53/udp"
|
|
volumes:
|
|
- ./config:/etc/acme-dns:ro
|