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 2017-11-28 15:33:27 +01:00 committed by GitHub
parent e779bf96ab
commit 59dff53176
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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