Skip to content

Commit

Permalink
๐Ÿ“docs : private key
Browse files Browse the repository at this point in the history
  • Loading branch information
DDonghyeo committed May 26, 2024
1 parent 9096399 commit ae95943
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 21 deletions.
42 changes: 23 additions & 19 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,12 @@ version: '3'

services:

# nginx:
# container_name: nginx
# image: nginx:latest
# ports:
# - "80:80"
# volumes:
# - /home/ec2-user/nginx.conf:/etc/nginx/nginx.conf
# depends_on:
# - "db"
# restart: always #ํ•ญ์ƒ ์žฌ์‹คํ–‰

api-gateway:
container_name: api-gateway
image: ${DOCKERHUB_USERNAME}/waither-gateway
image: ${DOCKERHUB_USERNAME}/waither-gateway:latest
network_mode: host
depends_on:
- config
ports:
- "8000:8000"
# restart: always
Expand All @@ -26,21 +18,24 @@ services:

config:
container_name: config
image: ${DOCKERHUB_USERNAME}/waither-config
image: ${DOCKERHUB_USERNAME}/waither-config:latest
network_mode: host
ports:
- "8888:8888"
depends_on:
- eureka
environment:
CONFIG_GIT_URI : ${CONFIG_GIT_URI}
CONFIG_PASSPHRASE : ${CONFIG_PASSPHRASE}
# CONFIG_PRIVATE_KEY : ${CONFIG_PRIVATE_KEY}
# restart: always
restart: no
volumes:
- /home/ec2-user/logs/config:/logs

eureka:
container_name: eureka
image: ${DOCKERHUB_USERNAME}/waither-eureka
image: ${DOCKERHUB_USERNAME}/waither-eureka:latest
network_mode: host
ports:
- "8761:8761"
# restart: always
Expand All @@ -50,7 +45,10 @@ services:

user-service:
container_name: user-service
image: ${DOCKERHUB_USERNAME}/waither-user
image: ${DOCKERHUB_USERNAME}/waither-user:latest
network_mode: host
depends_on:
- config
ports:
- "8080:8080"
# restart: unless-stopped #์ˆ˜๋™์œผ๋กœ ์ค‘์ง€๋˜์ง€ ์•Š๋Š” ์ด์ƒ ํ•ญ์ƒ ์žฌ์‹คํ–‰
Expand All @@ -60,17 +58,23 @@ services:

weather-service:
container_name: weather-service
image: ${DOCKERHUB_USERNAME}/waither-weather
image: ${DOCKERHUB_USERNAME}/waither-weather:latest
network_mode: host
depends_on:
- config
ports:
- "8081:8081"
# restart: unless-stopped
restart: no
volumes:
- /home/ec2-user/logs/weather-service:/logs
- /home/ec2-user/logs/weather-service:/logs:latest

noti-service:
container_name: noti-service
image: ${DOCKERHUB_USERNAME}/waither-noti
image: ${DOCKERHUB_USERNAME}/waither-noti:latest
network_mode: host
depends_on:
- config
ports:
- "8082:8082"
# restart: unless-stopped
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
Expand Up @@ -8,10 +8,10 @@ spring:
active: dev
cloud:
config:
uri: http://config:8888
uri: http://localhost:8888
name: database-noti,redis
kafka:
bootstrap-servers: "kafka:9092"
bootstrap-servers: "localhost:9092"


eureka:
Expand Down

0 comments on commit ae95943

Please sign in to comment.