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

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