mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
32 lines
824 B
Makefile
32 lines
824 B
Makefile
# All these commands must run from repository root.
|
|
|
|
run-vmstorage:
|
|
mkdir -p vmstorage-data
|
|
DOCKER_OPTS='-v $(shell pwd)/vmstorage-data:/vmstorage-data -p 8482:8482 -p 8400:8400 -p 8401:8401' \
|
|
APP_NAME=vmstorage \
|
|
ARGS='-retentionPeriod=12' \
|
|
$(MAKE) run-via-docker
|
|
|
|
vmstorage:
|
|
APP_NAME=vmstorage $(MAKE) app-local
|
|
|
|
vmstorage-race:
|
|
APP_NAME=vmstorage RACE=-race $(MAKE) app-local
|
|
|
|
vmstorage-prod:
|
|
APP_NAME=vmstorage $(MAKE) app-via-docker
|
|
|
|
vmstorage-prod-race:
|
|
APP_NAME=vmstorage RACE=-race $(MAKE) app-via-docker
|
|
|
|
package-vmstorage:
|
|
APP_NAME=vmstorage $(MAKE) package-via-docker
|
|
|
|
package-vmstorage-race:
|
|
APP_NAME=vmstorage RACE=-race $(MAKE) package-via-docker
|
|
|
|
publish-vmstorage:
|
|
APP_NAME=vmstorage $(MAKE) publish-via-docker
|
|
|
|
publish-vmstorage-race:
|
|
APP_NAME=vmstorage RACE=-race $(MAKE) publish-via-docker
|