github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/examples/golang-pull/file/docker-compose.yml (about)

     1  version: '3.9'
     2  services:
     3    pyroscope:
     4      image: 'pyroscope/pyroscope:latest'
     5      ports:
     6        - 4040:4040
     7      command:
     8        - server
     9      volumes:
    10        - ./server.yml:/etc/pyroscope/server.yml
    11        - ./targets.json:/targets.json
    12  
    13    hotrod:
    14      image: 'public.ecr.aws/pyroscope/hotrod-golang:latest'
    15      ports:
    16        - 8080:8080
    17        - 6060:6060
    18      environment:
    19        JAEGER_AGENT_HOST: jaeger
    20        JAEGER_AGENT_PORT: '6831'
    21      command:
    22        - all
    23  
    24    # Required for hotrod.
    25    jaeger:
    26      image: 'jaegertracing/all-in-one:1.11'
    27      ports:
    28        - '6831:6831/udp'
    29        - '16686:16686'
    30  
    31    app:
    32      build: .
    33      ports:
    34        - 6061:6060