Upgrading from v1 to v2
This guide helps migrate from TSDProxy v1 to v2.
Before You Upgrade
- Back up
/config/directory - Read the changelog
- Plan for downtime — proxies will restart
Step 1: Update Image
services:
tsdproxy:
image: almeidapaulopt/tsdproxy:2Add extra_hosts if missing:
extra_hosts:
- "host.docker.internal:host-gateway"Step 2: Migrate Config
Rename files: to lists: in tsdproxy.yaml.
Update list files from v1 format to v2 multi-port format:
# v1
nas1:
url: https://192.168.1.2:5001
# v2
nas1:
ports:
443/https:
targets:
- https://192.168.1.2:5001Step 3: Migrate Docker Labels
| V1 | V2 |
|---|---|
tsdproxy.container_port: 8080 | tsdproxy.port.1: "443/https:8080/http" |
tsdproxy.scheme: https | tsdproxy.port.1: "443/https:443/https" |
tsdproxy.tlsvalidate: false | tsdproxy.port.1: "443/https:80/http, no_tlsvalidate" |
tsdproxy.funnel: true | tsdproxy.port.1: "443/https:80/http, tailscale_funnel" |
Step 4: Restart & Verify
docker compose pull && docker compose up -dCheck Dashboard at http://<IP>:8080.
Rolling Back
docker compose down
# Restore config backup
# Change image tag back to almeidapaulopt/tsdproxy:1
docker compose up -dLast updated on