From c655b655c99ac236fa55e175979f54aa9d68799e Mon Sep 17 00:00:00 2001 From: gahusb Date: Sun, 25 Jan 2026 19:09:04 +0900 Subject: [PATCH] =?UTF-8?q?deploy-nas.sh=20=EC=8A=A4=ED=81=AC=EB=A6=BD?= =?UTF-8?q?=ED=8A=B8=20=EC=88=98=ED=96=89=20=EC=98=A4=EB=A5=98=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/deploy-nas.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/deploy-nas.sh b/scripts/deploy-nas.sh index 279f21d..b612a30 100644 --- a/scripts/deploy-nas.sh +++ b/scripts/deploy-nas.sh @@ -1,8 +1,10 @@ #!/bin/bash set -euo pipefail -SRC="/repo" -DST="/runtime" # (= /volume1/docker/webpage 가 마운트된 곳) +# deployer 컨테이너 내부에서는 /repo, /runtime 사용 +# 호스트 수동 실행 시에는 환경변수($REPO_PATH, $RUNTIME_PATH) 또는 아래 기본값 사용 +SRC="${REPO_PATH:-/repo}" +DST="${RUNTIME_PATH:-/runtime}" cd "$SRC"