summaryrefslogtreecommitdiffstats
path: root/build_external/scenarios/aclk-testing/agent-compose.yml
blob: c05c97cdf2fb999788e0f949b3a124e0fea9cac9 (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=current
    image: arch_current_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/netdata -D"
    ports:
    - 20000:19999