feat: add compatible Trojan manager image

This commit is contained in:
chermack
2026-07-26 05:01:15 +08:00
parent 059be96536
commit cb17d56cae
26 changed files with 320 additions and 41 deletions
+7
View File
@@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail
docker stop trojan || true
docker rename trojan trojan-failed-"$(date +%s)" || true
docker rename trojan-legacy trojan
docker start trojan
echo "Legacy container restored. Verify ports 8443 and 8081."