diff options
Diffstat (limited to 'compose.yml')
| -rw-r--r-- | compose.yml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/compose.yml b/compose.yml index 7626977..cf1d7bc 100644 --- a/compose.yml +++ b/compose.yml @@ -7,6 +7,7 @@ # $STATE/blossom/data/ # $STATE/live/config.json $STATE/live/data/ (TURN key; streams and their recordings) # $STATE/messages/bin/magnitude-relay $STATE/messages/data/ (see messages/README.md) +# $STATE/dns/keys.conf $STATE/dns/storage/ (TSIG keys; zones, journal, DNSSEC keys — see dns/README.md) services: names: image: ghcr.io/coinos/bun:1.4.3 @@ -26,6 +27,25 @@ services: networks: [net] restart: unless-stopped + # BIP-353 records: Knot DNS, the hidden primary (dns/primary.conf). The + # registrar updates it over `net`; ovh2's public secondary transfers from + # it over Tailscale, on cs's Tailscale address only. The bootstrap zones + # are copied in once (cp -n); after that the zones live in Knot's storage. + dns: + image: cznic/knot:3.4 + container_name: dns + command: sh -c 'cp -n /bootstrap/*.zone /storage/ && exec knotd -c /config/knot.conf' + volumes: + - ./dns/primary.conf:/config/knot.conf:ro + - ./dns/bootstrap:/bootstrap:ro + - ${STATE}/dns/keys.conf:/keys/keys.conf:ro + - ${STATE}/dns/storage:/storage + ports: + - ${DNS_XFR_ADDR:-100.119.250.121}:53:53/tcp + - ${DNS_XFR_ADDR:-100.119.250.121}:53:53/udp + networks: [net] + restart: unless-stopped + nwcpush: image: ghcr.io/coinos/bun:1.4.3 container_name: nwcpush |
