Stage 배포 환경 수정
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
version: '3'
|
version: "4"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
chocomae-stage:
|
chocomae-stage:
|
||||||
@@ -10,6 +10,8 @@ services:
|
|||||||
- ./chocomae:/var/www/html/mouse_typing
|
- ./chocomae:/var/www/html/mouse_typing
|
||||||
environment:
|
environment:
|
||||||
- TZ=Asia/Seoul
|
- TZ=Asia/Seoul
|
||||||
|
ports:
|
||||||
|
- "0.0.0.0:30010:80"
|
||||||
networks:
|
networks:
|
||||||
- proxy-network
|
- proxy-network
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ tar xzf "${NAS_TMP_DIR}/${ARCHIVE_NAME}" -C "${NEW_DIR}"
|
|||||||
echo "=== [2/5] stage 설정 적용 ==="
|
echo "=== [2/5] stage 설정 적용 ==="
|
||||||
cp -v "${NEW_DIR}/src/game/lib/global/global_variables_debug.js" \
|
cp -v "${NEW_DIR}/src/game/lib/global/global_variables_debug.js" \
|
||||||
"${NEW_DIR}/src/game/lib/global/global_variables.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"
|
"${NEW_DIR}/src/web/server/setup/service_db_setting.php"
|
||||||
|
|
||||||
DB_CONFIG="${NEW_DIR}/src/web/server/setup/service_db_setting.php"
|
DB_CONFIG="${NEW_DIR}/src/web/server/setup/service_db_setting.php"
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ $hasServiceDBSetting = file_exists(__DIR__."/service_db_setting.php");
|
|||||||
if($hasServiceDBSetting == true) {
|
if($hasServiceDBSetting == true) {
|
||||||
include(__DIR__."/service_db_setting.php");
|
include(__DIR__."/service_db_setting.php");
|
||||||
} else {
|
} else {
|
||||||
$db_host = "mariadb.jisangs.com";
|
$db_host = "localhost";
|
||||||
$db_user = "chocomae";
|
$db_user = "chocomae";
|
||||||
$db_passwd = "Fr12nds95";
|
$db_passwd = "Fr12nds95";
|
||||||
$db_name = "chocomae";
|
$db_name = "chocomae";
|
||||||
|
|||||||
Reference in New Issue
Block a user