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

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