44 lines
1.4 KiB
YAML
44 lines
1.4 KiB
YAML
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:
|
|
- COLLECTOR_IP=${COLLECTOR_IP}
|
|
- 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}
|
|
- PROFILER_SAMPLING_TYPE=${PROFILER_SAMPLING_TYPE}
|
|
- PROFILER_SAMPLING_COUNTING_SAMPLING_RATE=${PROFILER_SAMPLING_COUNTING_SAMPLING_RATE}
|
|
- PROFILER_SAMPLING_PERCENT_SAMPLING_RATE=${PROFILER_SAMPLING_PERCENT_SAMPLING_RATE}
|
|
- PROFILER_SAMPLING_NEW_THROUGHPUT=${PROFILER_SAMPLING_NEW_THROUGHPUT}
|
|
- PROFILER_SAMPLING_CONTINUE_THROUGHPUT=${PROFILER_SAMPLING_CONTINUE_THROUGHPUT}
|
|
- DEBUG_LEVEL=${AGENT_DEBUG_LEVEL}
|
|
- PROFILER_TRANSPORT_MODULE=${PROFILER_TRANSPORT_MODULE}
|
|
networks:
|
|
- pinpoint
|
|
|
|
#networks:
|
|
# default:
|
|
# external:
|
|
# name: pinpoint
|
|
|
|
networks:
|
|
pinpoint:
|
|
driver: bridge
|
|
|