From 1b49ee6cb41443358e4c277cd2069ca35f1687c4 Mon Sep 17 00:00:00 2001 From: nmemmert <67961292+nmemmert@users.noreply.github.com> Date: Tue, 20 Oct 2026 13:59:31 -0400 Subject: [PATCH] Add DNS servers to the compose service Co-Authored-By: Claude Sonnet 5.5 --- docker-compose.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 65133fc..115db40 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,6 +3,11 @@ services: image: git.necloud.us/nate/hub:latest # built by the Gitea workflow; `docker compose build` builds locally instead build: . restart: unless-stopped + # The container looks names up through these. If necloud.us only exists on your home/LAN DNS + # (Pi-hole, router, AdGuard...), set DNS_1 to that server's IP instead. + dns: + - ${DNS_1:-1.1.1.1} + - ${DNS_2:-8.8.8.8} ports: - "8080:8080" environment: