missing
This commit is contained in:
parent
40d559a989
commit
aa526dd3f5
2 changed files with 24 additions and 8 deletions
16
Makefile
Normal file
16
Makefile
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
APP_DB_VOLUME=app-db-data
|
||||
DW_DB_VOLUME=dw-db-data
|
||||
COMPOSE_FILE=docker-compose.yml
|
||||
|
||||
.PHONY: start stop reset
|
||||
|
||||
start:
|
||||
docker compose -f $(COMPOSE_FILE) up -d
|
||||
|
||||
stop:
|
||||
docker compose -f $(COMPOSE_FILE) down
|
||||
|
||||
reset: stop
|
||||
@echo "Removing volumes..."
|
||||
docker volume rm -f $(APP_DB_VOLUME) $(DW_DB_VOLUME)
|
||||
@echo "Volumes removed. You can now start fresh with 'make start'"
|
||||
Loading…
Add table
Add a link
Reference in a new issue