github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/hacks/metrics-comparison/docker-compose.yml (about) 1 version: '3.9' 2 services: 3 pyroscope_dev: 4 environment: 5 - PYROSCOPE_LOG_LEVEL=debug 6 - PYROSCOPE_WAIT_AFTER_STOP=true 7 build: 8 context: ../../ 9 dockerfile: Dockerfile 10 command: 11 - server 12 deploy: 13 resources: 14 limits: 15 cpus: 1 16 memory: 2048MB 17 18 pyroscope_reference: 19 environment: 20 - PYROSCOPE_LOG_LEVEL=debug 21 - PYROSCOPE_WAIT_AFTER_STOP=true 22 image: pyroscope/pyroscope-dev:main 23 command: 24 - server 25 ports: 26 - 4041:4040 27 deploy: 28 resources: 29 limits: 30 cpus: 1 31 memory: 2048MB 32 33 grafana: 34 image: grafana/grafana:8.1.1 35 volumes: 36 - ./grafana-provisioning:/etc/grafana/provisioning 37 - ./grafana/grafana.ini:/etc/grafana/grafana.ini 38 environment: 39 - 'GF_INSTALL_PLUGINS=pyroscope-datasource,pyroscope-panel' 40 ports: 41 - 3000:3000 42 43 prometheus: 44 image: prom/prometheus:latest 45 command: 46 - '--config.file=/etc/prometheus/prometheus.yml' 47 volumes: 48 - ./prometheus:/etc/prometheus/ 49 - data-prometheus:/prometheus 50 51 go-agent-dev: 52 build: 53 context: ./golang 54 environment: 55 - 'PYROSCOPE_URL=pyroscope_dev:4040' 56 57 go-agent-ref: 58 build: 59 context: ./golang 60 environment: 61 - 'PYROSCOPE_URL=pyroscope_reference:4040' 62 63 volumes: 64 data-prometheus: 65 driver: local