From c2ff70f79db067355f4c30fbff8423a0f77de116 Mon Sep 17 00:00:00 2001 From: Davide Polonio Date: Mon, 6 Apr 2026 22:46:03 +0200 Subject: [PATCH] fix(patrizio): add extra_hosts to resolve ollama to tailscale IP MagicDNS is broken in the container (DNS proxy returns SERVFAIL with 'no upstream resolvers set'). Use extra_hosts as a reliable workaround to ensure ollama.lan.poldebra.me resolves to its Tailscale IP 100.64.0.7 instead of the server's public IP which has an expired cert. --- patrizio/docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/patrizio/docker-compose.yml b/patrizio/docker-compose.yml index 2a82e3d..0870de1 100644 --- a/patrizio/docker-compose.yml +++ b/patrizio/docker-compose.yml @@ -3,6 +3,8 @@ services: image: ghcr.io/polpetta/patrizio-bot:v0.2.0 network_mode: service:tailscale restart: unless-stopped + extra_hosts: + - "ollama.lan.poldebra.me:100.64.0.7" command: -f /data/ serve volumes: - ./data:/data:rw