Makefile: add env_clean to drop storage volume
This commit is contained in:
parent
293615ea5f
commit
707215af83
1 changed files with 5 additions and 2 deletions
7
Makefile
7
Makefile
|
@ -108,10 +108,13 @@ env_up:
|
||||||
@docker-compose -f $(DC_FILE) up -d node_one node_two node_three node_four
|
@docker-compose -f $(DC_FILE) up -d node_one node_two node_three node_four
|
||||||
|
|
||||||
env_down:
|
env_down:
|
||||||
@echo "=> Stop and cleanup environment"
|
@echo "=> Stop environment"
|
||||||
@docker-compose -f $(DC_FILE) down
|
@docker-compose -f $(DC_FILE) down
|
||||||
|
|
||||||
env_restart:
|
env_restart:
|
||||||
@echo "=> Stop and cleanup environment"
|
@echo "=> Stop and start environment"
|
||||||
@docker-compose -f $(DC_FILE) restart
|
@docker-compose -f $(DC_FILE) restart
|
||||||
|
|
||||||
|
env_clean: env_down
|
||||||
|
@echo "=> Cleanup environment"
|
||||||
|
@docker volume rm docker_volume_chain
|
||||||
|
|
Loading…
Reference in a new issue