🚀 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

@@ -1,6 +1,8 @@
# openjdk8 base image
FROM openjdk:8-jre-alpine
# directory 생성
RUN mkdir -p /usr/app/msa-attach-volume/messages
# jar 파일이 복사되는 위치
ENV APP_HOME=/usr/app/
# 작업 시작 위치

View File

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