🚀 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

@@ -10,7 +10,8 @@ spring:
config:
server:
native:
search-locations: file:///usr/app/config # docker
search-locations: ${search.location:file:///${user.home}/workspace.edu/egovframe-msa-edu/config} # Windows
# search-locations: file://${user.home}/workspace.edu/egovframe-msa-edu/config # MacOS
rabbitmq:
host: localhost
port: 5672

View File

@@ -1,2 +1,2 @@
encrypt:
key: egovframe # 대칭키 임의의 값
key: egovframe # 대칭키 임의의 값

View File

@@ -14,8 +14,8 @@
</root>
</springProfile>
<springProfile name="!native">
<!-- java -Ddestination="localhost:5001" 와 같이 변경할 수 있다. cf 환경에서는 manifest.yml 파일에 환경변수로 추가 -->
<property name="destination" value="${destination:-localhost:5001}" />
<!-- java -Dlogstash_hostname="localhost:5001" 와 같이 변경할 수 있다. cf 환경에서는 manifest.yml 파일에 환경변수로 추가 -->
<property name="destination" value="${logstash_hostname:-localhost:5001}" />
<property name="app_name" value="${app_name:-config-server}" />
<!-- ELK - Logstash 로 로그를 전송하기 위한 appender -->