diff options
Diffstat (limited to 'build_external/scenarios/aclk-testing/agent-compose.yml')
-rw-r--r-- | build_external/scenarios/aclk-testing/agent-compose.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/build_external/scenarios/aclk-testing/agent-compose.yml b/build_external/scenarios/aclk-testing/agent-compose.yml new file mode 100644 index 00000000..5f0f19af --- /dev/null +++ b/build_external/scenarios/aclk-testing/agent-compose.yml @@ -0,0 +1,18 @@ +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 |