mirror of
https://git.wownero.com/lza_menace/docker-wownero.git
synced 2024-08-15 01:03:31 +00:00
big refactor, add makefile, update dashboard, use nocompile option
This commit is contained in:
parent
288ec0722c
commit
1bbc059f00
6 changed files with 217 additions and 58 deletions
19
wownero/Makefile
Normal file
19
wownero/Makefile
Normal file
|
@ -0,0 +1,19 @@
|
|||
.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
|
||||
|
||||
build: ## Build the required containers by fetching binaries
|
||||
docker-compose -f docker-compose.yaml build --no-cache
|
||||
|
||||
down: ## Stop the containers
|
||||
docker-compose -f docker-compose.yaml down
|
||||
|
||||
logs: ## Get logs from the containers
|
||||
docker-compose -f docker-compose.yaml logs -f
|
Loading…
Add table
Add a link
Reference in a new issue