QNAP: 서버 포트를 로컬호스트에만 게시(테일넷 전용 접속)

This commit is contained in:
한땀 작업실 committed 2026-11-01 04:09:53 +00:00
1 parent b41d42694d
commit 574d4f53cd
1 file changed
+2 -2
+2 -2
View File
@@ -23,13 +23,13 @@ case "${1:-up}" in
up)
"$DOCKER" rm -f "$NAME" >/dev/null 2>&1 || true
"$DOCKER" run -d --name "$NAME" --restart unless-stopped \
-p "$PORT:$PORT" \
-p "127.0.0.1:$PORT:$PORT" \
-v "$BASE/repo":/repo \
-v "$BASE/config":/config \
-v "$BASE/data":/data \
-v "$WEB_ROOT":/web \
-v "$BASE/.gitconfig":/root/.gitconfig:ro \
-v "$BASE/.git-credentials":/root/.git-credentials:ro \
-v "$BASE/.git-credentials":/root/.git-credentials \
-e TEAMAT_WEB_ROOT=/web \
-e TEAMAT_ARCHIVE=/data/photos \
-e TEAMAT_PUSH=1 \