github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/examples/dotnet/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_LABELS=region:us-east 9 - PYROSCOPE_SERVER_ADDRESS=http://pyroscope:4040 10 - ASPNETCORE_URLS=http://*:5000 11 build: 12 context: . 13 14 eu-north: 15 ports: 16 - 5000 17 environment: 18 - REGION=eu-north 19 - PYROSCOPE_LABELS=region:eu-north 20 - PYROSCOPE_SERVER_ADDRESS=http://pyroscope:4040 21 - ASPNETCORE_URLS=http://*:5000 22 23 build: 24 context: . 25 26 ap-south: 27 ports: 28 - 5000 29 environment: 30 - REGION=ap-south 31 - PYROSCOPE_LABELS=region:ap-south 32 - PYROSCOPE_SERVER_ADDRESS=http://pyroscope:4040 33 - ASPNETCORE_URLS=http://*:5000 34 build: 35 context: . 36 37 ap-south-alpine: 38 ports: 39 - 5000 40 environment: 41 - REGION=ap-south 42 - PYROSCOPE_LABELS=region:ap-south-alpine 43 - PYROSCOPE_SERVER_ADDRESS=http://pyroscope:4040 44 - ASPNETCORE_URLS=http://*:5000 45 build: 46 context: . 47 dockerfile: musl.Dockerfile 48 49 50 pyroscope: 51 image: pyroscope/pyroscope:latest 52 environment: 53 - PYROSCOPE_LOG_LEVEL=debug 54 ports: 55 - '4040:4040' 56 command: 57 - 'server' 58 59 load-generator: 60 build: 61 context: . 62 dockerfile: Dockerfile.load-generator 63