From 380ea299f803e5dc53a5cd1420231f7babd440fb Mon Sep 17 00:00:00 2001 From: jisangs Date: Wed, 9 Sep 2026 14:46:39 +0900 Subject: [PATCH] =?UTF-8?q?Stage=20=EB=B0=B0=ED=8F=AC=20=ED=99=98=EA=B2=BD?= =?UTF-8?q?=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/stage-git/docker-compose.stage.yml | 4 +++- deploy/stage-jenkins/remote_deploy.sh | 2 +- src/web/server/setup/connect_db.php | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/deploy/stage-git/docker-compose.stage.yml b/deploy/stage-git/docker-compose.stage.yml index 0dabc06..f08df24 100644 --- a/deploy/stage-git/docker-compose.stage.yml +++ b/deploy/stage-git/docker-compose.stage.yml @@ -1,4 +1,4 @@ -version: '3' +version: "4" services: chocomae-stage: @@ -10,6 +10,8 @@ services: - ./chocomae:/var/www/html/mouse_typing environment: - TZ=Asia/Seoul + ports: + - "0.0.0.0:30010:80" networks: - proxy-network restart: unless-stopped diff --git a/deploy/stage-jenkins/remote_deploy.sh b/deploy/stage-jenkins/remote_deploy.sh index 6ede71a..b4681d1 100644 --- a/deploy/stage-jenkins/remote_deploy.sh +++ b/deploy/stage-jenkins/remote_deploy.sh @@ -45,7 +45,7 @@ tar xzf "${NAS_TMP_DIR}/${ARCHIVE_NAME}" -C "${NEW_DIR}" echo "=== [2/5] stage 설정 적용 ===" cp -v "${NEW_DIR}/src/game/lib/global/global_variables_debug.js" \ "${NEW_DIR}/src/game/lib/global/global_variables.js" -cp -v "${NEW_DIR}/src/web/server/setup/NA_service_db_setting.php" \ +cp -v "${NEW_DIR}/src/web/server/setup/NA_stage_db_setting.php" \ "${NEW_DIR}/src/web/server/setup/service_db_setting.php" DB_CONFIG="${NEW_DIR}/src/web/server/setup/service_db_setting.php" diff --git a/src/web/server/setup/connect_db.php b/src/web/server/setup/connect_db.php index f3d87dd..5880045 100644 --- a/src/web/server/setup/connect_db.php +++ b/src/web/server/setup/connect_db.php @@ -5,7 +5,7 @@ $hasServiceDBSetting = file_exists(__DIR__."/service_db_setting.php"); if($hasServiceDBSetting == true) { include(__DIR__."/service_db_setting.php"); } else { - $db_host = "mariadb.jisangs.com"; + $db_host = "localhost"; $db_user = "chocomae"; $db_passwd = "Fr12nds95"; $db_name = "chocomae";