build(Makefile): remove volumes on stop

This commit is contained in:
Sarah Vaupel 2025-03-31 12:37:57 +02:00
parent 928804fce1
commit 0ee42bac29

View File

@ -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-%: