fix: tsdns init script

This commit is contained in:
iceBear67
2026-07-05 19:01:00 +08:00
parent 10d377fb26
commit ea638786d6
2 changed files with 5 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/sh
if [ ! docker network insepct "workspace" ]; then
if ! docker network inspect "workspace" ; then
docker network create \
--attachable \
--ipv4 \
@@ -17,7 +17,7 @@ docker run -e "TS_AUTHKEY=_TS_AUTHKEY_" \
-e "ADVERTISE_ROUTE=_ADVERTISE_ROUTE_" \
-e "TS_DEBUG_OMIT_LOCAL_ADDRS=true" \
--network "workspace" \
-p 41641:41641/udp
-v "/data/tsdns:/tstate"
--restart unless-stopped
-p 41641:41641/udp \
-v "/data/tsdns:/tstate" \
--restart unless-stopped \
ghcr.io/saltedfishclub/tsdns:latest