Skip to content

Commit

Permalink
๐Ÿ“docs : ci/cd ์—๋Ÿฌ ์ˆ˜์ •
Browse files Browse the repository at this point in the history
  • Loading branch information
DDonghyeo committed May 25, 2024
1 parent a102dc7 commit 6b073e4
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 12 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ jobs:
cd ./config-service/src/main/resources
touch ./bootstrap.yml
echo "${{ secrets.CONFIG_APPLICATION_YML }}" > ./bootstrap.yml
cd
# DockerHub Login
- name: Docker Hub Login
uses: docker/login-action@v2
Expand All @@ -62,7 +61,6 @@ jobs:
#Config-Service Build & Docker Push
- name: Build with Gradle - config
run: |
docker builder prune
cd config-service
./gradlew clean build -x test
docker build -t ${{ secrets.DOCKERHUB_USERNAME }}/waither-config .
Expand Down
4 changes: 2 additions & 2 deletions apiGateway-service/src/main/resources/bootstrap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spring:
uri: http://config:8888
name: database-apiGateway, redis, jwt
kafka:
bootstrap-servers: "localhost:9092"
bootstrap-servers: "http://kafka:9092"
consumer:
group-id: "GroupId"

Expand All @@ -20,7 +20,7 @@ eureka:
register-with-eureka: true
fetch-registry: true
service-url:
defaultZone: http://localhost:8761/eureka
defaultZone: http://eureka:8761/eureka

#management: # Actuator Settings
# endpoints:
Expand Down
7 changes: 4 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,15 @@ services:
volumes:
- /home/ec2-user/logs/api-gateway:/logs


config:
container_name: config
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
Expand Down
4 changes: 2 additions & 2 deletions noti-service/src/main/resources/bootstrap.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
server:
port: 8089
port: 8082

spring:
application:
Expand All @@ -19,4 +19,4 @@ eureka:
register-with-eureka: true # register to eureka server
fetch-registry: true # Getting instances' information from eureka server
service-url:
defaultZone : http://127.0.0.1:8761/eureka #Eureka Server's address
defaultZone : http://eureka:8761/eureka #Eureka Server's address
2 changes: 1 addition & 1 deletion user-service/src/main/resources/bootstrap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ eureka:
register-with-eureka: true # register to eureka server
fetch-registry: true # Getting instances' information from eureka server
service-url:
defaultZone : http://127.0.0.1:8761/eureka #Eureka Server's address
defaultZone : http://eureka:8761/eureka #Eureka Server's address

#management: # Actuator
# endpoints:
Expand Down
2 changes: 1 addition & 1 deletion weather-service/src/main/resources/bootstrap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ eureka:
register-with-eureka: true # register to eureka server
fetch-registry: true # Getting instances' information from eureka server
service-url:
defaultZone : http://127.0.0.1:8761/eureka #Eureka Server's address
defaultZone : http://eureka:8761/eureka #Eureka Server's address

management: # Actuator
endpoints:
Expand Down

0 comments on commit 6b073e4

Please sign in to comment.