2018-05-11 09:30:45 +00:00
|
|
|
version: "3.6"
|
|
|
|
|
|
|
|
services:
|
|
|
|
pinpoint-collector:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
args:
|
|
|
|
- PINPOINT_VERSION=${PINPOINT_VERSION}
|
|
|
|
|
|
|
|
container_name: "${PINPOINT_COLLECTOR_NAME}"
|
|
|
|
image: "pinpointdocker/pinpoint-collector:${PINPOINT_VERSION}"
|
|
|
|
|
|
|
|
restart: always
|
|
|
|
expose:
|
2020-03-17 08:30:13 +00:00
|
|
|
- "9991"
|
|
|
|
- "9992"
|
|
|
|
- "9993"
|
2020-03-24 05:42:11 +00:00
|
|
|
- "9994"
|
|
|
|
- "9995"
|
|
|
|
- "9996"
|
2018-05-11 09:30:45 +00:00
|
|
|
ports:
|
2020-08-26 00:59:03 +00:00
|
|
|
- "${COLLECTOR_RECEIVER_GRPC_AGENT_PORT:-9991}:9991/tcp"
|
|
|
|
- "${COLLECTOR_RECEIVER_GRPC_STAT_PORT:-9992}:9992/tcp"
|
|
|
|
- "${COLLECTOR_RECEIVER_GRPC_SPAN_PORT:-9993}:9993/tcp"
|
2020-03-24 05:42:11 +00:00
|
|
|
- "${COLLECTOR_RECEIVER_BASE_PORT:-9994}:9994"
|
|
|
|
- "${COLLECTOR_RECEIVER_STAT_UDP_PORT:-9995}:9995/tcp"
|
|
|
|
- "${COLLECTOR_RECEIVER_SPAN_UDP_PORT:-9996}:9996/tcp"
|
|
|
|
- "${COLLECTOR_RECEIVER_STAT_UDP_PORT:-9995}:9995/udp"
|
|
|
|
- "${COLLECTOR_RECEIVER_SPAN_UDP_PORT:-9996}:9996/udp"
|
2018-05-11 09:30:45 +00:00
|
|
|
|
|
|
|
environment:
|
2020-08-26 00:59:03 +00:00
|
|
|
- JAVA_OPTS="-Dspring.profiles.active=${SPRING_PROFILES}"
|
2020-03-16 07:01:28 +00:00
|
|
|
- SPRING_PROFILES=${SPRING_PROFILES}
|
2020-08-26 00:59:03 +00:00
|
|
|
- PINPOINT_ZOOKEEPER_ADDRESS=${PINPOINT_ZOOKEEPER_ADDRESS}
|
2018-05-11 09:30:45 +00:00
|
|
|
- CLUSTER_ENABLE=${CLUSTER_ENABLE}
|
2020-08-26 00:59:03 +00:00
|
|
|
- LOGGING_LEVEL_ROOT=${COLLECTOR_LOGGING_LEVEL_ROOT}
|
2018-05-11 09:30:45 +00:00
|
|
|
- FLINK_CLUSTER_ENABLE=${FLINK_CLUSTER_ENABLE}
|
|
|
|
- FLINK_CLUSTER_ZOOKEEPER_ADDRESS=${FLINK_CLUSTER_ZOOKEEPER_ADDRESS}
|