add comment on network_mode

This commit is contained in:
John Bowdre 2023-12-30 14:25:44 -06:00
parent 4f665ae30c
commit 124a0f59f0

View file

@ -14,4 +14,4 @@ services:
- ./ts_data:/var/lib/tailscale/ - ./ts_data:/var/lib/tailscale/
myservice: myservice:
image: nginxdemos/hello image: nginxdemos/hello
network_mode: "service:tailscale" network_mode: "service:tailscale" # use the tailscale network service's network