Don't use docker-compose down to stop containers

This delete containers and volume too. 
Use docker-compose stop who only stop containers
This commit is contained in:
Caule Simon authored and GitHub committed 2017-11-28 15:33:27 +01:00
1 parent e779bf96ab
commit 59dff53176
1 file changed
+1 -1
+1 -1
View File
@@ -63,7 +63,7 @@ if [ "$1" == "up" ] ; then
elif [ "$1" == "down" ]; then elif [ "$1" == "down" ]; then
print_style "Stopping Docker Compose\n" "info" print_style "Stopping Docker Compose\n" "info"
docker-compose down docker-compose stop
print_style "Stopping Docker Sync\n" "info" print_style "Stopping Docker Sync\n" "info"
docker-sync stop docker-sync stop