pinpoint-docker-fork/pinpoint-collector/docker-compose.yml

38 lines
1.0 KiB
YAML
Raw Normal View History

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"
2018-05-11 09:30:45 +00:00
ports:
2020-03-17 08:30:13 +00:00
- "${COLLECTOR_RECEIVER_AGENT_PORT:-9991}:9991/udp"
- "${COLLECTOR_RECEIVER_METADATA_PORT:-9991}:9991/tcp"
- "${COLLECTOR_RECEIVER_STAT_PORT:-9992}:9992/udp"
- "${COLLECTOR_RECEIVER_SPAN_PORT:-9993}:9993/udp"
2018-05-11 09:30:45 +00:00
environment:
- SPRING_PROFILES=${SPRING_PROFILES}
2018-05-11 09:30:45 +00:00
- CLUSTER_ENABLE=${CLUSTER_ENABLE}
- CLUSTER_ZOOKEEPER_ADDRESS=${CLUSTER_ZOOKEEPER_ADDRESS}
- HBASE_HOST=${HBASE_HOST}
- HBASE_PORT=${HBASE_PORT}
- FLINK_CLUSTER_ENABLE=${FLINK_CLUSTER_ENABLE}
- FLINK_CLUSTER_ZOOKEEPER_ADDRESS=${FLINK_CLUSTER_ZOOKEEPER_ADDRESS}
- DEBUG_LEVEL=${COLLECTOR_DEBUG_LEVEL}
networks:
pinpoint:
driver: bridge