🚀 Docker compose edu test

This commit is contained in:
kimjaeyeol
2021-10-27 15:17:34 +09:00
parent fcceafde0f
commit 5dce245521
24 changed files with 79 additions and 54 deletions

View File

@@ -16,12 +16,10 @@ eureka:
# file attach location - messages{lang}.properties 도 이 경로에 위치한다.
file:
directory: ${user.home}/msa-attach-volume # url 사용시에는 사용되지 않는다
directory: ${app.home:${user.home}}/msa-attach-volume # url 사용시에는 사용되지 않는다
url: http://localhost:8080 # nginx 로 파일 다운로드 처리
messages:
directory: ${file.directory}/messages
logstash:
url: localhost:8086
apigateway:
host: http://localhost:${server.port}
@@ -29,12 +27,12 @@ apigateway:
# rabbitmq server
spring:
rabbitmq:
host: localhost
host: ${rabbitmq.hostname:${localhost}}
port: 5672
username: guest
password: guest
zipkin:
base-url: http://localhost:8085
base-url: http://${zipkin.hostname:${localhost}}:8085
egov:
message: hello

View File

@@ -1,5 +1,5 @@
database:
url: jdbc:mysql://localhost:3306/msaportal
url: jdbc:mysql://${mysql.hostname:localhost}:3306/msaportal
spring:
datasource:

View File

@@ -1,5 +1,5 @@
database:
url: jdbc:mysql://localhost:3306/msaportal
url: jdbc:mysql://${mysql.hostname:localhost}:3306/msaportal
spring:
datasource:

View File

@@ -1,6 +1,6 @@
spring:
r2dbc:
url: r2dbc:mysql://localhost:3306/reservation?serverTimezone=Asia/Seoul
url: r2dbc:mysql://${mysql.hostname:localhost}:3306/reservation?serverTimezone=Asia/Seoul
username: msaportal
password: msaportal
cloud:

View File

@@ -1,6 +1,6 @@
spring:
r2dbc:
url: r2dbc:mysql://localhost:3306/msaportal?serverTimezone=Asia/Seoul
url: r2dbc:mysql://${mysql.hostname:localhost}:3306/msaportal?serverTimezone=Asia/Seoul
username: msaportal
password: msaportal
cloud:

View File

@@ -1,6 +1,6 @@
spring:
r2dbc:
url: r2dbc:mysql://localhost:3306/reservation?serverTimezone=Asia/Seoul
url: r2dbc:mysql://${mysql.hostname:localhost}:3306/reservation?serverTimezone=Asia/Seoul
username: msaportal
password: msaportal
cloud:

View File

@@ -1,5 +1,5 @@
database:
url: jdbc:mysql://localhost:3306/msaportal
url: jdbc:mysql://${mysql.hostname:localhost}:3306/msaportal
spring:
datasource: