From b9b1bf5e63a5609eeca0c9f2379f331ea2850043 Mon Sep 17 00:00:00 2001 From: DDonghyeo Date: Sun, 26 May 2024 00:32:45 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9Ddocs=20:=20build=20=EC=84=A4?= =?UTF-8?q?=EC=A0=95=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 6 +++--- script/deploy.sh | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index b8ba05f9..8945c7cc 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -29,9 +29,9 @@ services: image: ${DOCKERHUB_USERNAME}/waither-config ports: - "8888:8888" -# environment: -# CONFIG_GIT_URI : ${CONFIG_GIT_URI} -# CONFIG_PASSPHRASE : ${CONFIG_PASSPHRASE} + environment: + CONFIG_GIT_URI : ${CONFIG_GIT_URI} + CONFIG_PASSPHRASE : ${CONFIG_PASSPHRASE} # CONFIG_PRIVATE_KEY_DIR : ${CONFIG_PRIVATE_KEY_DIR} # restart: always restart: no diff --git a/script/deploy.sh b/script/deploy.sh index 188626f8..76bc3064 100644 --- a/script/deploy.sh +++ b/script/deploy.sh @@ -10,10 +10,10 @@ # -d : detached 모드. 컨테이너를 백그라운드에서 실행 echo "api-gateway server start..." -docker-compose -f /home/docker-compose.yml up -d api-gateway +docker-compose -f /home/docker-compose.yml up -d api-gateway --build echo "noti-service server start..." -docker-compose -f /home/docker-compose.yml up -d noti-service +docker-compose -f /home/docker-compose.yml up -d noti-service --build echo "user-service server start..." -docker-compose -f /home/docker-compose.yml up -d user-service +docker-compose -f /home/docker-compose.yml up -d user-service --build echo "weather-service server start..." -docker-compose -f /home/docker-compose.yml up -d weather-service +docker-compose -f /home/docker-compose.yml up -d weather-service --build