add comment on volume mount

This commit is contained in:
John Bowdre 2023-12-30 14:31:18 -06:00
parent ec6d85943e
commit a54e45ca71

View file

@ -11,7 +11,7 @@ services:
TS_SERVE_PORT: ${TS_SERVE_PORT:-} # optional port to proxy with tailscale serve (ex: '80') TS_SERVE_PORT: ${TS_SERVE_PORT:-} # optional port to proxy with tailscale serve (ex: '80')
TS_FUNNEL: ${TS_FUNNEL:-} # if set, serve publicly with tailscale funnel TS_FUNNEL: ${TS_FUNNEL:-} # if set, serve publicly with tailscale funnel
volumes: volumes:
- ./ts_data:/var/lib/tailscale/ - ./ts_data:/var/lib/tailscale/ # the mountpoint should match TS_STATE_DIR
myservice: myservice:
image: nginxdemos/hello image: nginxdemos/hello
network_mode: "service:tailscale" # use the tailscale network service's network network_mode: "service:tailscale" # use the tailscale network service's network