diff --git a/docker-compose.yml b/docker-compose.yml index ce1d5ca..a0c5f7c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -67,10 +67,21 @@ configs: server=8.8.8.8 # This ensures local lookups from /etc/hosts or host-record are logged log-async - address=/home.arpa/192.168.0.106 - ptr-record=106.0.168.192.in-addr.arpa,nas.home.arpa - host-record=suma.home.arpa,192.168.0.217 - host-record=suma-proxy.home.arpa,192.168.0.122 + # for self-hosted services via caddy + address=/.${DOMAIN_LOCAL}/192.168.0.106 + # each host needs a host record + # otherwise its hostname will be redirected to the above IP address + host-record=nas.${DOMAIN_LOCAL},192.168.0.106 + host-record=nixos.${DOMAIN_LOCAL},192.168.0.203 + host-record=oldguy.${DOMAIN_LOCAL},192.168.0.167 + ptr-record=106.0.168.192.in-addr.arpa,nas.${DOMAIN_LOCAL} + host-record=suma.${DOMAIN_LOCAL},192.168.0.159 + host-record=suma-proxy3.${DOMAIN_LOCAL},192.168.0.176 + host-record=suma-proxy4.${DOMAIN_LOCAL},192.168.0.123 + host-record=suma-proxy5.${DOMAIN_LOCAL},192.168.0.166 + host-record=suma-proxy6.${DOMAIN_LOCAL},192.168.0.204 + host-record=suma-proxy7.${DOMAIN_LOCAL},192.168.0.152 + host-record=suma-proxy8.${DOMAIN_LOCAL},192.168.0.196 include: