github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/examples/java-jfr/rideshare/docker-compose.yml (about)

     1  version: '3'
     2  services:
     3    us-east:
     4      ports:
     5        - 8080
     6      environment:
     7        - REGION=us-east
     8        - PYROSCOPE_SERVER_ADDRESS=http://pyroscope:4040
     9      build:
    10        context: .
    11  
    12    eu-north:
    13      ports:
    14        - 8080
    15      environment:
    16        - REGION=eu-north
    17        - PYROSCOPE_SERVER_ADDRESS=http://pyroscope:4040
    18      build:
    19        context: .
    20  
    21    ap-south:
    22      ports:
    23        - 8080
    24      environment:
    25        - REGION=ap-south
    26        - PYROSCOPE_SERVER_ADDRESS=http://pyroscope:4040
    27      build:
    28        context: .
    29  
    30    pyroscope:
    31      image: pyroscope/pyroscope:latest
    32      environment:
    33        - PYROSCOPE_LOG_LEVEL=debug
    34      ports:
    35        - '4040:4040'
    36      command:
    37        - 'server'
    38        - '-no-self-profiling'
    39  
    40    load-generator:
    41      build:
    42        context: .
    43        dockerfile: Dockerfile.load-generator