🔧 Test docker compose
This commit is contained in:
@@ -5,13 +5,12 @@ spring:
|
||||
application:
|
||||
name: config-service
|
||||
profiles:
|
||||
active: native,default # native file repository
|
||||
active: native # native file repository
|
||||
cloud:
|
||||
config:
|
||||
server:
|
||||
native:
|
||||
search-locations: file:///${user.home}/workspace.edu/egovframe-msa-edu/config # Windows
|
||||
# search-locations: file://${user.home}/workspace.edu/egovframe-msa-edu/config # MacOS
|
||||
search-locations: file:///usr/app/config # docker
|
||||
rabbitmq:
|
||||
host: localhost
|
||||
port: 5672
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
encrypt:
|
||||
key: egovframe # 대칭키 임의의 값
|
||||
key: egovframe # 대칭키 임의의 값
|
||||
|
||||
@@ -8,12 +8,12 @@
|
||||
</appender>
|
||||
|
||||
<!-- 로컬에서는 로그를 전송하지 않도록 설정 -->
|
||||
<springProfile name="default">
|
||||
<springProfile name="native">
|
||||
<root level="INFO">
|
||||
<appender-ref ref="STDOUT" />
|
||||
</root>
|
||||
</springProfile>
|
||||
<springProfile name="!default">
|
||||
<springProfile name="!native">
|
||||
<!-- java -Ddestination="localhost:5001" 와 같이 변경할 수 있다. cf 환경에서는 manifest.yml 파일에 환경변수로 추가 -->
|
||||
<property name="destination" value="${destination:-localhost:5001}" />
|
||||
<property name="app_name" value="${app_name:-config-server}" />
|
||||
|
||||
Reference in New Issue
Block a user