[#naver/pinpoint#6598] add missing spring profile arg

This commit is contained in:
Roy Kim 2020-03-17 17:30:41 +09:00 committed by Roy Kim
parent 34cbc98aee
commit 3ea606f5df
4 changed files with 6 additions and 2 deletions

View File

@ -80,6 +80,7 @@ services:
- "9997:9997"
- "${WEB_PAGE_PORT:-8080}:8080"
environment:
- JAVA_OPTS="-Dspring.profiles.active=${SPRING_PROFILES}"
- SPRING_PROFILES=${SPRING_PROFILES}
- CLUSTER_ENABLE=${CLUSTER_ENABLE}
- CLUSTER_ZOOKEEPER_ADDRESS=${CLUSTER_ZOOKEEPER_ADDRESS}
@ -137,6 +138,7 @@ services:
networks:
- pinpoint
environment:
- JAVA_OPTS="-Dspring.profiles.active=${SPRING_PROFILES}"
- SPRING_PROFILES=${SPRING_PROFILES}
- CLUSTER_ENABLE=${CLUSTER_ENABLE}
- CLUSTER_ZOOKEEPER_ADDRESS=${CLUSTER_ZOOKEEPER_ADDRESS}
@ -158,7 +160,7 @@ services:
volumes:
- data-volume:/pinpoint-agent
environment:
JAVA_OPTS: "-javaagent:/pinpoint-agent/pinpoint-bootstrap-${PINPOINT_VERSION}.jar -Dpinpoint.agentId=${AGENT_ID} -Dpinpoint.applicationName=${APP_NAME}"
JAVA_OPTS: "-javaagent:/pinpoint-agent/pinpoint-bootstrap-${PINPOINT_VERSION}.jar -Dpinpoint.agentId=${AGENT_ID} -Dpinpoint.applicationName=${APP_NAME} -Dpinpoint.profiler.profiles.active=${SPRING_PROFILES}"
networks:
- pinpoint
depends_on:

View File

@ -13,7 +13,7 @@ services:
volumes:
- data-volume:/pinpoint-agent
environment:
JAVA_OPTS: "-javaagent:/pinpoint-agent/pinpoint-bootstrap-${PINPOINT_VERSION}.jar -Dpinpoint.agentId=${AGENT_ID} -Dpinpoint.applicationName=${APP_NAME}"
JAVA_OPTS: "-javaagent:/pinpoint-agent/pinpoint-bootstrap-${PINPOINT_VERSION}.jar -Dpinpoint.agentId=${AGENT_ID} -Dpinpoint.applicationName=${APP_NAME} -Dpinpoint.profiler.profiles.active=${SPRING_PROFILES}"
networks:
- pinpoint
depends_on:

View File

@ -4,6 +4,7 @@ SPRING_PROFILES=release
### Pinpoint-Web
PINPOINT_WEB_NAME=pinpoint-web
SPRING_PROFILES=release
WEB_PAGE_PORT=8079

View File

@ -19,6 +19,7 @@ services:
- "9997:9997"
- "${WEB_PAGE_PORT:-8080}:8080"
environment:
- JAVA_OPTS="-Dspring.profiles.active=${SPRING_PROFILES}"
- SPRING_PROFILES=${SPRING_PROFILES}
- CLUSTER_ENABLE=${CLUSTER_ENABLE}
- CLUSTER_ZOOKEEPER_ADDRESS=${CLUSTER_ZOOKEEPER_ADDRESS}