build(Makefile): remove volumes on stop
This commit is contained in:
parent
928804fce1
commit
0ee42bac29
4
Makefile
4
Makefile
@ -91,11 +91,11 @@ ghci: shell-backend ;
|
|||||||
.PHONY: stop
|
.PHONY: stop
|
||||||
# HELP: stop all services
|
# HELP: stop all services
|
||||||
stop:
|
stop:
|
||||||
docker compose down
|
docker compose down --volumes
|
||||||
.PHONY: stop-%
|
.PHONY: stop-%
|
||||||
# HELP(stop-$SERVICE): stop a given service
|
# HELP(stop-$SERVICE): stop a given service
|
||||||
stop-%:
|
stop-%:
|
||||||
docker compose down $*
|
docker compose down --volumes $*
|
||||||
.PHONY: kill-%
|
.PHONY: kill-%
|
||||||
# HELP(kill-$SERVICE): kill a given service the hard way. Use this if the servive does not respond to stop.
|
# HELP(kill-$SERVICE): kill a given service the hard way. Use this if the servive does not respond to stop.
|
||||||
kill-%:
|
kill-%:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user