github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/examples/golang-pull/static/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  
    12    hotrod:
    13      image: 'public.ecr.aws/pyroscope/hotrod-golang:latest'
    14      ports:
    15        - 8080:8080
    16        - 6060:6060
    17      environment:
    18        JAEGER_AGENT_HOST: jaeger
    19        JAEGER_AGENT_PORT: '6831'
    20      command:
    21        - all
    22  
    23    # Required for hotrod.
    24    jaeger:
    25      image: 'jaegertracing/all-in-one:1.11'
    26      ports:
    27        - '6831:6831/udp'
    28        - '16686:16686'
    29  
    30    app:
    31      build: .
    32      ports:
    33        - 6061:6060