app/vmagent/Makefile: fix make run-vmagent rule

This commit is contained in:
Aliaksandr Valialkin 2020-05-15 19:35:04 +03:00
parent 6c43ba1cb1
commit e544155a82

View file

@ -52,8 +52,9 @@ publish-vmagent:
APP_NAME=vmagent $(MAKE) publish-via-docker APP_NAME=vmagent $(MAKE) publish-via-docker
run-vmagent: run-vmagent:
mkdir -p vmagent-data mkdir -p vmagent-remotewrite-data
DOCKER_OPTS='-v $(shell pwd)/vmagent-data:/vmagent-data' \ DOCKER_OPTS='-v $(shell pwd)/vmagent-remotewrite-data:/vmagent-remotewrite-data' \
ARGS='-remoteWrite.url=http://localhost:8428/api/v1/write' \
APP_NAME=vmagent \ APP_NAME=vmagent \
$(MAKE) run-via-docker $(MAKE) run-via-docker