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

41 lines
1.1 KiB
YAML
Raw Normal View History

2018-05-11 09:30:45 +00:00
version: "3.6"
#pinpoint-agent image will not usually be used alone
services:
pinpoint-agent:
build:
context: .
dockerfile: Dockerfile
args:
- PINPOINT_VERSION=${PINPOINT_VERSION}
container_name: "${PINPOINT_AGENT_NAME}"
image: "pinpointdocker/pinpoint-agent:${PINPOINT_VERSION}"
restart: unless-stopped
volumes:
- pinpoint-agent
environment:
- SPRING_PROFILES=${SPRING_PROFILES}
2018-05-11 09:30:45 +00:00
- COLLECTOR_IP=${COLLECTOR_IP}
2020-03-17 08:30:13 +00:00
- PROFILER_TRANSPORT_AGENT_COLLECTOR_PORT=${PROFILER_TRANSPORT_AGENT_COLLECTOR_PORT}
- PROFILER_TRANSPORT_METADATA_COLLECTOR_PORT=${PROFILER_TRANSPORT_METADATA_COLLECTOR_PORT}
- PROFILER_TRANSPORT_STAT_COLLECTOR_PORT=${PROFILER_TRANSPORT_STAT_COLLECTOR_PORT}
- PROFILER_TRANSPORT_SPAN_COLLECTOR_PORT=${PROFILER_TRANSPORT_SPAN_COLLECTOR_PORT}
2018-05-11 09:30:45 +00:00
- PROFILER_SAMPLING_RATE=${PROFILER_SAMPLING_RATE}
- DEBUG_LEVEL=${AGENT_DEBUG_LEVEL}
2020-03-24 05:42:11 +00:00
- PROFILER_TRANSPORT_MODULE=${PROFILER_TRANSPORT_MODULE}
2018-05-11 09:30:45 +00:00
networks:
- pinpoint
#networks:
# default:
# external:
# name: pinpoint
networks:
pinpoint:
driver: bridge