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"