We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
One magic I had to work out is to double the "$" in the config content so that Docker does not try and expand the TS_CERT_DOMAIN string.
TS_CERT_DOMAIN
Also commented out the funnel line, because if it is in (even set to false), then the container shows as funnel enabled in the control panel.
--- services: ts-nginx-test: image: tailscale/tailscale:latest container_name: ts-nginx-test hostname: nginx-test environment: - TS_AUTHKEY=${TS_AUTHKEY} - TS_EXTRA_ARGS=--advertise-tags=tag:container - TS_SERVE_CONFIG=/ts-nginx-test-config - TS_STATE_DIR=/var/lib/tailscale volumes: - ts-nginx-test-data:/var/lib/tailscale - /dev/net/tun:/dev/net/tun configs: - ts-nginx-test-config cap_add: - net_admin - sys_module restart: unless-stopped nginx-pid-test: image: nginx container_name: nginx-pid-test1 network_mode: service:ts-nginx-test depends_on: - ts-nginx-test volumes: ts-nginx-test-data: driver: local configs: ts-nginx-test-config: content: | { "TCP": { "443": { "HTTPS": true } }, "Web": { "$${TS_CERT_DOMAIN}:443": { "Handlers": { "/": { "Proxy": "http://127.0.0.1:80" } } } }, "#AllowFunnel": { "$${TS_CERT_DOMAIN}:443": false } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
One magic I had to work out is to double the "$" in the config content so that Docker does not try and expand the
TS_CERT_DOMAIN
string.Also commented out the funnel line, because if it is in (even set to false), then the container shows as funnel enabled in the
control panel.
The text was updated successfully, but these errors were encountered: