feat: put Patrizio inside VPN #43
@ -20,10 +20,21 @@ services:
|
|||||||
hostname: patrizio
|
hostname: patrizio
|
||||||
image: tailscale/tailscale:latest
|
image: tailscale/tailscale:latest
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
dns:
|
extra_records:
|
||||||
- 100.64.0.4
|
- name: "pi.hole"
|
||||||
- 1.1.1.1
|
type: "A"
|
||||||
command: tailscaled
|
value: "100.64.0.4"
|
||||||
|
- name: "pihole.lan.poldebra.me"
|
||||||
|
type: "A"
|
||||||
|
value: "100.64.0.4"
|
||||||
|
- name: "ollama.lan.poldebra.me"
|
||||||
|
type: "A"
|
||||||
|
value: "100.64.0.7"
|
||||||
|
command: >
|
||||||
|
- sh -c "tailscaled &
|
||||||
|
- sleep 5 &&
|
||||||
|
- tailscale up --accept-dns=true --login-server=https://vpn.poldebra.me &&
|
||||||
|
- wait"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "tailscale status"]
|
test: ["CMD-SHELL", "tailscale status"]
|
||||||
interval: 1s
|
interval: 1s
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user