github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/benchmark/start.sh (about)

     1  #!/bin/bash
     2  
     3  set -euo pipefail
     4  
     5  source ./config.env
     6  # these env variables are used in docker-compose itself so we're exporting them here
     7  export PYROSCOPE_CPUS PYROSCOPE_MEMORY
     8  
     9  export DOCKER_BUILDKIT=1
    10  docker-compose -f docker-compose.yml -f docker-compose.dev.yml up \
    11    --build \
    12    --abort-on-container-exit