Containers using network_mode: service:X share the target container's network namespace including /etc/hosts. Move the ollama hosts entry to the tailscale service so it applies to the shared namespace.
Containers using network_mode: service:X share the target container's network namespace including /etc/hosts. Move the ollama hosts entry to the tailscale service so it applies to the shared namespace.