From e544155a8248d89de46e04907030338c0a28594d Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Fri, 15 May 2020 19:35:04 +0300 Subject: [PATCH] app/vmagent/Makefile: fix `make run-vmagent` rule --- app/vmagent/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/vmagent/Makefile b/app/vmagent/Makefile index e18755f64..416128ae4 100644 --- a/app/vmagent/Makefile +++ b/app/vmagent/Makefile @@ -52,8 +52,9 @@ publish-vmagent: APP_NAME=vmagent $(MAKE) publish-via-docker run-vmagent: - mkdir -p vmagent-data - DOCKER_OPTS='-v $(shell pwd)/vmagent-data:/vmagent-data' \ + mkdir -p vmagent-remotewrite-data + DOCKER_OPTS='-v $(shell pwd)/vmagent-remotewrite-data:/vmagent-remotewrite-data' \ + ARGS='-remoteWrite.url=http://localhost:8428/api/v1/write' \ APP_NAME=vmagent \ $(MAKE) run-via-docker