From 012a70068f494c800b04049e6cdb29855a581ad7 Mon Sep 17 00:00:00 2001 From: juchan204 Date: Fri, 6 Dec 2024 03:59:38 +0900 Subject: [PATCH] =?UTF-8?q?MATE-100=20:=20[FIX]=20=EB=8F=84=EC=BB=A4?= =?UTF-8?q?=EC=97=90=20=ED=99=98=EA=B2=BD=EB=B3=80=EC=88=98=20=EC=A0=84?= =?UTF-8?q?=EB=8B=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/start-server.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/scripts/start-server.sh b/scripts/start-server.sh index 98f8aa64..18e4013d 100644 --- a/scripts/start-server.sh +++ b/scripts/start-server.sh @@ -1,8 +1,16 @@ #!/bin/bash +#!/bin/bash echo "--------------- 서버 배포 시작 -----------------" docker stop catchmi-server || true docker rm catchmi-server || true docker pull 533267244952.dkr.ecr.ap-northeast-2.amazonaws.com/catchmi-server:latest -docker run -d --name catchmi-server -p 8080:8080 533267244952.dkr.ecr.ap-northeast-2.amazonaws.com/catchmi-server:latest +docker run -d --name catchmi-server \ + -p 8080:8080 \ + -e JWT_SECRET_KEY="${JWT_SECRET_KEY}" \ + -e NAVER_CLIENT_ID="${NAVER_CLIENT_ID}" \ + -e NAVER_REDIRECT_URI="${NAVER_REDIRECT_URI}" \ + -e NAVER_CLIENT_SECRET="${NAVER_CLIENT_SECRET}" \ + -e OPENWEATHER_API_KEY="${OPENWEATHER_API_KEY}" \ + 533267244952.dkr.ecr.ap-northeast-2.amazonaws.com/catchmi-server:latest echo "--------------- 서버 배포 끝 -----------------" \ No newline at end of file