github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/examples/ebpf/docker-compose.yml (about) 1 --- 2 version: '3.9' 3 services: 4 pyroscope: 5 image: 'pyroscope/pyroscope:latest' 6 ports: 7 - '4040:4040' 8 command: 9 - 'server' 10 app: 11 image: 'pyroscope/pyroscope:latest' 12 user: root 13 privileged: true 14 pid: 'host' 15 volumes: 16 - /lib/modules:/lib/modules 17 command: 18 - 'connect' 19 - '--spy-name' 20 - 'ebpfspy' 21 - '--pid' 22 - '-1' 23 - '--server-address' 24 - 'http://pyroscope:4040'