mirror of
https://github.com/jbowdre/tailscale-docker.git
synced 2024-11-25 19:22:18 +00:00
18 lines
343 B
YAML
18 lines
343 B
YAML
version: "3.9"
|
|
services:
|
|
tailscale:
|
|
build:
|
|
context: ./tailscale
|
|
environment:
|
|
- TAILSCALE_AUTH_KEY
|
|
nginx:
|
|
build:
|
|
context: ./nginx
|
|
depends_on:
|
|
- service-one
|
|
- service-two
|
|
network_mode: "service:tailscale"
|
|
service-one:
|
|
image: nginxdemos/hello
|
|
service-two:
|
|
image: nginxdemos/hello
|