tsdproxy
Listens on you local Docker socket for containers with --label "tsdproxy.enable=true"
enabled and automatically adds them to the tailnet as a node. Consider using a ephemeral
key for this service so Tailscale will clean out unused containers for you.
services:
tailscale-docker-proxy:
image: almeidapaulopt/tsdproxy:latest
name: tsdproxy
restart: unless-stopped
environment:
# Get AuthKey from your Tailscale account
- TSDPROXY_AUTHKEY=tskey-auth-SecretKey
# Address of docker server (access to example.com ports)
- TSDPROXY_HOSTNAME=192.168.1.1
- DOCKER_HOST=unix:///var/run/docker.sock
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./data:/data