diff --git a/scripts/run-qnap.sh b/scripts/run-qnap.sh index 59e6b70..8ed864d 100644 --- a/scripts/run-qnap.sh +++ b/scripts/run-qnap.sh @@ -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 \