Automatically removes orphan Docker containers at start

This commit is contained in:
Marwolf
2018-08-10 21:23:08 -04:00
parent eaf9f79534
commit 62173da050

View File

@@ -1,7 +1,7 @@
MYSQL_DUMPS_DIR=./data/db MYSQL_DUMPS_DIR=./data/db
start: init start: init
docker-compose up -d docker-compose up -d --remove-orphans
stop: stop:
@docker-compose down -v @docker-compose down -v