Skip to content

Upgrading from v1 to v2

This guide helps migrate from TSDProxy v1 to v2.

Before You Upgrade

  1. Back up /config/ directory
  2. Read the changelog
  3. Plan for downtime — proxies will restart

Step 1: Update Image

services:
  tsdproxy:
    image: almeidapaulopt/tsdproxy:2

Add 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:5001

Step 3: Migrate Docker Labels

V1V2
tsdproxy.container_port: 8080tsdproxy.port.1: "443/https:8080/http"
tsdproxy.scheme: httpstsdproxy.port.1: "443/https:443/https"
tsdproxy.tlsvalidate: falsetsdproxy.port.1: "443/https:80/http, no_tlsvalidate"
tsdproxy.funnel: truetsdproxy.port.1: "443/https:80/http, tailscale_funnel"

Step 4: Restart & Verify

docker compose pull && docker compose up -d

Check Dashboard at http://<IP>:8080.

Rolling Back

docker compose down
# Restore config backup
# Change image tag back to almeidapaulopt/tsdproxy:1
docker compose up -d
Last updated on