fix(patrizio): fix MagicDNS resolution for ollama.lan.poldebra.me
- Run tailscaled with --netfilter-mode=off to avoid iptables failures in the container, which were breaking the MagicDNS proxy at 100.100.100.100 - Set dns: 100.100.100.100 so Docker forwards DNS queries to Tailscale's MagicDNS proxy instead of Contabo's public DNS, which was resolving ollama.lan.poldebra.me to the server's public IP instead of the tailnet IP
This commit is contained in:
parent
8bedfa2cff
commit
ddc7e5a1b6
@ -20,10 +20,12 @@ services:
|
||||
hostname: patrizio
|
||||
image: tailscale/tailscale:latest
|
||||
restart: unless-stopped
|
||||
dns:
|
||||
- 100.100.100.100
|
||||
env_file:
|
||||
- tailscale.env
|
||||
command: >
|
||||
sh -c "tailscaled &
|
||||
sh -c "tailscaled --netfilter-mode=off &
|
||||
sleep 5 &&
|
||||
tailscale up --accept-dns=true --login-server=https://vpn.poldebra.me &&
|
||||
wait"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user