mirror of
https://github.com/prymitive/karma
synced 2026-05-07 03:26:52 +00:00
Enable more features for mock data
This commit is contained in:
9
Makefile
9
Makefile
@@ -42,7 +42,12 @@ clean:
|
||||
|
||||
.PHONY: run
|
||||
run: $(NAME)
|
||||
DEBUG=true ALERTMANAGER_URI=$(ALERTMANAGER_URI) PORT=$(PORT) ./$(NAME)
|
||||
DEBUG=true \
|
||||
ALERTMANAGER_URI=$(ALERTMANAGER_URI) \
|
||||
COLOR_LABELS_UNIQUE="instance" \
|
||||
COLOR_LABELS_STATIC="job" \
|
||||
PORT=$(PORT) \
|
||||
./$(NAME)
|
||||
|
||||
.PHONY: docker-image
|
||||
docker-image: bindata_assetfs.go
|
||||
@@ -54,6 +59,8 @@ run-docker: docker-image
|
||||
docker run \
|
||||
--name $(NAME) \
|
||||
-e ALERTMANAGER_URI=$(ALERTMANAGER_URI) \
|
||||
-e COLOR_LABELS_UNIQUE="instance" \
|
||||
-e COLOR_LABELS_STATIC="job" \
|
||||
-e PORT=$(PORT) \
|
||||
-p $(PORT):$(PORT) \
|
||||
$(NAME):$(VERSION)
|
||||
|
||||
Reference in New Issue
Block a user