fix: multiple tsdns containers are created

This commit is contained in:
iceBear67
2026-07-06 14:24:38 +08:00
parent 0ada1a09ec
commit 18a68ee6fd
2 changed files with 1 additions and 5 deletions

View File

@@ -1,6 +1,5 @@
#!/bin/sh
if ! docker network inspect "workspace" ; then
docker network create \
--attachable \
@@ -23,4 +22,5 @@ docker run -e "TS_AUTHKEY=_TS_AUTHKEY_" \
-p 41641:41641/udp \
-v "/data/tsdns:/tstate" \
--restart unless-stopped \
--name "tsdns" \
ghcr.io/saltedfishclub/tsdns:latest