Skip to content

Commit

Permalink
improves make server command, allows for env override of arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
petethepig committed Aug 9, 2021
1 parent e089d5b commit 7d6f7a5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ endif
-include .env
export

PYROSCOPE_LOG_LEVEL ?= debug
PYROSCOPE_BADGER_LOG_LEVEL ?= error
PYROSCOPE_STORAGE_PATH ?= tmp/pyroscope-storage

.PHONY: all
all: build

Expand Down Expand Up @@ -84,7 +88,7 @@ test:

.PHONY: server
server:
bin/pyroscope server --log-level debug --badger-log-level error --storage-path tmp/pyroscope-storage
bin/pyroscope server

.PHONY: install-web-dependencies
install-web-dependencies:
Expand Down

0 comments on commit 7d6f7a5

Please sign in to comment.