forked from ezpaarse-project/ezmesure
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
25 lines (17 loc) · 842 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.PHONY: help
.DEFAULT_GOAL := help
help:
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
run: cleanup-docker config ## run ezMESURE using environment variables
. ./ezmesure.env.sh ; docker-compose up -d
run-node: cleanup-docker config ## run ezMESURE elastic node(s) only (with ezmesure.local.env.sh)
. ./ezmesure.env.sh ; docker-compose up -d elastic
run-debug: cleanup-docker config ## run ezMESURE debug mode
. ./ezmesure.env.sh ; docker-compose -f docker-compose.debug.yml up -d
stop: ## stop ezMESURE using environment variables
. ./ezmesure.env.sh ; docker-compose stop
cleanup-docker: ## remove docker image (needed for updating it)
docker-compose stop
docker-compose rm -f
plugins: ## build plugin zip
./kibana/plugins/build.sh