From 203b633387646f8db5ce9817bdb696b51becda37 Mon Sep 17 00:00:00 2001 From: Minsu Kim <86006389+minsu20@users.noreply.github.com> Date: Wed, 22 Nov 2023 23:52:03 +0900 Subject: [PATCH] =?UTF-8?q?deploy:=20=EB=8F=84=EC=BB=A4=20=EC=BB=A8?= =?UTF-8?q?=ED=85=8C=EC=9D=B4=EB=84=88=EC=97=90=EC=84=9C=20=ED=83=80?= =?UTF-8?q?=EC=9E=84=EC=A1=B4=20=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy.sh b/deploy.sh index 59c6402d..39ee49ca 100644 --- a/deploy.sh +++ b/deploy.sh @@ -18,7 +18,7 @@ if [ -z "$EXIST_BLUE" ] && [ -z "$EXIST_GREEN" ]; then docker rm ${DOCKER_APP_NAME}-blue fi - docker run -d --name ${DOCKER_APP_NAME}-blue -p 8081:8080 ${DOCKER_USERNAME}/moing:blue + docker run -d --name ${DOCKER_APP_NAME}-blue -p 8081:8080 -e TZ=Asia/Seoul ${DOCKER_USERNAME}/moing:blue BEFORE_COMPOSE_COLOR="green" AFTER_COMPOSE_COLOR="blue" elif [ -z "$EXIST_BLUE" ]; then @@ -29,7 +29,7 @@ elif [ -z "$EXIST_BLUE" ]; then docker rm ${DOCKER_APP_NAME}-blue fi - docker run -d --name ${DOCKER_APP_NAME}-blue -p 8081:8080 ${DOCKER_USERNAME}/moing:blue + docker run -d --name ${DOCKER_APP_NAME}-blue -p 8081:8080 -e TZ=Asia/Seoul ${DOCKER_USERNAME}/moing:blue BEFORE_COMPOSE_COLOR="green" AFTER_COMPOSE_COLOR="blue" else @@ -40,7 +40,7 @@ else docker rm ${DOCKER_APP_NAME}-green fi - docker run -d --name ${DOCKER_APP_NAME}-green -p 8082:8080 ${DOCKER_USERNAME}/moing:green + docker run -d --name ${DOCKER_APP_NAME}-green -p 8082:8080 -e TZ=Asia/Seoul ${DOCKER_USERNAME}/moing:green BEFORE_COMPOSE_COLOR="blue" AFTER_COMPOSE_COLOR="green" fi