-
Notifications
You must be signed in to change notification settings - Fork 27
/
Makefile
31 lines (21 loc) · 1.06 KB
/
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
26
27
28
29
30
31
.PHONY: format help
# Help system from https://marmelab.com/blog/2016/02/29/auto-documented-makefile.html
.DEFAULT_GOAL := help
help:
@grep -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'
up: ## Build and run the required containers by fetching binaries
docker-compose -f docker-compose.yaml up -d
up-full: ## Build and run the required containers by compiling source
docker-compose -f docker-compose.full.yaml up -d
build: ## Build the required containers by fetching binaries
docker-compose -f docker-compose.yaml build
build-full: ## Build the required containers by compiling source
docker-compose -f docker-compose.full.yaml build
down: ## Stop the containers
docker-compose -f docker-compose.yaml down
down-full: ## Stop the containers
docker-compose -f docker-compose.full.yaml down
logs: ## Get logs from the containers
docker-compose -f docker-compose.yaml logs -f monerod
logs-full: ## Get logs from the containers
docker-compose -f docker-compose.full.yaml logs -f monerod