From e62da9432ac4ace9f56c624fbc52baf07ef3d215 Mon Sep 17 00:00:00 2001 From: DDonghyeo Date: Sat, 25 May 2024 00:57:16 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9Ddocs=20:=20=EC=8A=A4=ED=81=AC?= =?UTF-8?q?=EB=A6=BD=ED=8A=B8=20=EC=88=98=EC=A0=95=20&=20config=20uri=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apiGateway-service/src/main/resources/bootstrap.yml | 2 +- noti-service/src/main/resources/bootstrap.yml | 2 +- script/docker_init.sh | 2 ++ user-service/src/main/resources/bootstrap.yml | 2 +- weather-service/src/main/resources/bootstrap.yml | 2 +- 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/apiGateway-service/src/main/resources/bootstrap.yml b/apiGateway-service/src/main/resources/bootstrap.yml index 0e3fbdf2..f36f218a 100644 --- a/apiGateway-service/src/main/resources/bootstrap.yml +++ b/apiGateway-service/src/main/resources/bootstrap.yml @@ -8,7 +8,7 @@ spring: active: dev cloud: config: - uri: http://localhost:8888 + uri: http://config:8888 name: database-apiGateway, redis, jwt kafka: bootstrap-servers: "localhost:9092" diff --git a/noti-service/src/main/resources/bootstrap.yml b/noti-service/src/main/resources/bootstrap.yml index a2f1e679..71055d41 100644 --- a/noti-service/src/main/resources/bootstrap.yml +++ b/noti-service/src/main/resources/bootstrap.yml @@ -8,7 +8,7 @@ spring: active: dev cloud: config: - uri: http://localhost:8888 + uri: http://config:8888 name: database-noti,redis kafka: bootstrap-servers: "localhost:9092" diff --git a/script/docker_init.sh b/script/docker_init.sh index 48431a7c..341a1356 100644 --- a/script/docker_init.sh +++ b/script/docker_init.sh @@ -36,6 +36,8 @@ if ! command -v docker-compose &> /dev/null; then #Docker compose plugin 설치 - Amazon Linux 2023 sudo curl -L https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose + sudo chown ec2-user:docker /var/run/docker.sock #docker-compose 접속 권한 설정 : docker socket + docker-compose version diff --git a/user-service/src/main/resources/bootstrap.yml b/user-service/src/main/resources/bootstrap.yml index 5a46d2f0..c7977aa7 100644 --- a/user-service/src/main/resources/bootstrap.yml +++ b/user-service/src/main/resources/bootstrap.yml @@ -8,7 +8,7 @@ spring: active: dev cloud: config: - uri: http://localhost:8888 + uri: http://config:8888 name: database-user,redis, jwt, smtp, apiDocs-user kafka: bootstrap-servers: "localhost:9092" diff --git a/weather-service/src/main/resources/bootstrap.yml b/weather-service/src/main/resources/bootstrap.yml index 4d724e28..4abbfad6 100644 --- a/weather-service/src/main/resources/bootstrap.yml +++ b/weather-service/src/main/resources/bootstrap.yml @@ -8,7 +8,7 @@ spring: active: dev cloud: config: - uri: http://localhost:8888 + uri: http://config:8888 name: database-weather kafka: bootstrap-servers: "localhost:9092"