mirror of
https://github.com/jbowdre/tailscale-docker.git
synced 2024-12-02 22:02:17 +00:00
13 lines
356 B
YAML
13 lines
356 B
YAML
|
version: "3.9"
|
||
|
services:
|
||
|
tailscale:
|
||
|
build:
|
||
|
context: ../../images/tailscale
|
||
|
environment:
|
||
|
TAILSCALE_AUTH_KEY: ${TAILSCALE_AUTH_KEY:?err}
|
||
|
TAILSCALE_HOSTNAME: ${TAILSCALE_HOSTNAME:-tailscale-docker-simple-example}
|
||
|
TAILSCALE_STATE_ARG: "mem:"
|
||
|
some-service-1:
|
||
|
image: nginxdemos/hello
|
||
|
network_mode: "service:tailscale"
|