Two TSDProxy instances, two Docker servers, three providers
Two TSDProxy instances, two Docker servers, three providers
SRV1 containers use ‘default’, SRV2 use ‘account2’. Specific containers override to ‘withtags’.
SRV1 Config
/config/tsdproxy.yaml
defaultProxyProvider: default
docker:
srv1:
host: unix:///var/run/docker.sock
defaultProxyProvider: default
tailscale:
providers:
default:
authKey: "KEY1"
withtags:
authKey: "KEY2"
account2:
authKey: "KEY3"SRV2 Config
/config/tsdproxy.yaml
defaultProxyProvider: default
docker:
srv2:
host: unix:///var/run/docker.sock
defaultProxyProvider: account2
tailscale:
providers:
default:
authKey: "KEY1"
withtags:
authKey: "KEY2"
account2:
authKey: "KEY3"Server 1 Services
services:
webserver1:
image: nginx
labels:
tsdproxy.enable: "true"
tsdproxy.name: "webserver1"
tsdproxy.proxyprovider: "withtags"
tsdproxy.port.1: "443/https:80/http"
portainer:
image: portainer/portainer-ee
labels:
tsdproxy.enable: "true"
tsdproxy.name: "portainer"
tsdproxy.port.1: "443/https:9000/http"Server 2 Services
services:
webserver2:
image: nginx
labels:
tsdproxy.enable: "true"
tsdproxy.name: "webserver2"
tsdproxy.port.1: "443/https:80/http"
memos:
image: neosmemo/memos:stable
labels:
tsdproxy.enable: "true"
tsdproxy.name: "memos"
tsdproxy.proxyprovider: "withtags"
tsdproxy.port.1: "443/https:5230/http"Last updated on