summaryrefslogtreecommitdiffstats
path: root/build_external/scenarios/aclk-testing/agent-valgrind-compose.yml
blob: d404ed41b970799e8dbdc701e88771c64f7bfc51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
version: '3.3'
services:
  agent_parent:
    build:
      context: ../../..
      dockerfile: build_external/make-install.Dockerfile
      args:
      - DISTRO=arch
      - VERSION=extras
    image: arch_extras_dev:latest
    command: >
      sh -c "echo -n 00000000-0000-0000-0000-000000000000 >/var/lib/netdata/cloud.d/claimed_id &&
             echo '[agent_cloud_link]' >>/etc/netdata/netdata.conf &&
             echo '  agent cloud link hostname = vernemq' >>/etc/netdata/netdata.conf &&
             echo '  agent cloud link port = 9002' >>/etc/netdata/netdata.conf &&
             /usr/sbin/valgrind --leak-check=full /usr/sbin/netdata -D -W debug_flags=0x200000000"
    ports:
    - 20000:19999