2022-07-13 16:32:08 +00:00
|
|
|
version: "3.8"
|
|
|
|
services:
|
|
|
|
tailscaled:
|
|
|
|
hostname: traefik-tests-gw # This will become the tailscale device name
|
|
|
|
image: tailscale/tailscale:v1.24.0
|
|
|
|
volumes:
|
|
|
|
# TODO: maybe mount the container's /var/lib to keep some state for tailscale?
|
|
|
|
- "/dev/net/tun:/dev/net/tun" # Required for tailscale to work
|
|
|
|
cap_add: # Required for tailscale to work
|
|
|
|
- net_admin
|
|
|
|
- sys_module
|
2024-01-09 16:00:07 +00:00
|
|
|
command:
|
|
|
|
- tailscaled
|