[#naver/pinpoint#6598] add missing spring profile arg
This commit is contained in:
parent
34cbc98aee
commit
3ea606f5df
|
@ -80,6 +80,7 @@ services:
|
||||||
- "9997:9997"
|
- "9997:9997"
|
||||||
- "${WEB_PAGE_PORT:-8080}:8080"
|
- "${WEB_PAGE_PORT:-8080}:8080"
|
||||||
environment:
|
environment:
|
||||||
|
- JAVA_OPTS="-Dspring.profiles.active=${SPRING_PROFILES}"
|
||||||
- SPRING_PROFILES=${SPRING_PROFILES}
|
- SPRING_PROFILES=${SPRING_PROFILES}
|
||||||
- CLUSTER_ENABLE=${CLUSTER_ENABLE}
|
- CLUSTER_ENABLE=${CLUSTER_ENABLE}
|
||||||
- CLUSTER_ZOOKEEPER_ADDRESS=${CLUSTER_ZOOKEEPER_ADDRESS}
|
- CLUSTER_ZOOKEEPER_ADDRESS=${CLUSTER_ZOOKEEPER_ADDRESS}
|
||||||
|
@ -137,6 +138,7 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- pinpoint
|
- pinpoint
|
||||||
environment:
|
environment:
|
||||||
|
- JAVA_OPTS="-Dspring.profiles.active=${SPRING_PROFILES}"
|
||||||
- SPRING_PROFILES=${SPRING_PROFILES}
|
- SPRING_PROFILES=${SPRING_PROFILES}
|
||||||
- CLUSTER_ENABLE=${CLUSTER_ENABLE}
|
- CLUSTER_ENABLE=${CLUSTER_ENABLE}
|
||||||
- CLUSTER_ZOOKEEPER_ADDRESS=${CLUSTER_ZOOKEEPER_ADDRESS}
|
- CLUSTER_ZOOKEEPER_ADDRESS=${CLUSTER_ZOOKEEPER_ADDRESS}
|
||||||
|
@ -158,7 +160,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- data-volume:/pinpoint-agent
|
- data-volume:/pinpoint-agent
|
||||||
environment:
|
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:
|
networks:
|
||||||
- pinpoint
|
- pinpoint
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|
|
@ -13,7 +13,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- data-volume:/pinpoint-agent
|
- data-volume:/pinpoint-agent
|
||||||
environment:
|
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:
|
networks:
|
||||||
- pinpoint
|
- pinpoint
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|
|
@ -4,6 +4,7 @@ SPRING_PROFILES=release
|
||||||
### Pinpoint-Web
|
### Pinpoint-Web
|
||||||
|
|
||||||
PINPOINT_WEB_NAME=pinpoint-web
|
PINPOINT_WEB_NAME=pinpoint-web
|
||||||
|
SPRING_PROFILES=release
|
||||||
|
|
||||||
WEB_PAGE_PORT=8079
|
WEB_PAGE_PORT=8079
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,7 @@ services:
|
||||||
- "9997:9997"
|
- "9997:9997"
|
||||||
- "${WEB_PAGE_PORT:-8080}:8080"
|
- "${WEB_PAGE_PORT:-8080}:8080"
|
||||||
environment:
|
environment:
|
||||||
|
- JAVA_OPTS="-Dspring.profiles.active=${SPRING_PROFILES}"
|
||||||
- SPRING_PROFILES=${SPRING_PROFILES}
|
- SPRING_PROFILES=${SPRING_PROFILES}
|
||||||
- CLUSTER_ENABLE=${CLUSTER_ENABLE}
|
- CLUSTER_ENABLE=${CLUSTER_ENABLE}
|
||||||
- CLUSTER_ZOOKEEPER_ADDRESS=${CLUSTER_ZOOKEEPER_ADDRESS}
|
- CLUSTER_ZOOKEEPER_ADDRESS=${CLUSTER_ZOOKEEPER_ADDRESS}
|
||||||
|
|
Loading…
Reference in New Issue