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:
parent
e779bf96ab
commit
59dff53176
4
sync.sh
4
sync.sh
@ -63,7 +63,7 @@ if [ "$1" == "up" ] ; then
|
||||
|
||||
elif [ "$1" == "down" ]; then
|
||||
print_style "Stopping Docker Compose\n" "info"
|
||||
docker-compose down
|
||||
docker-compose stop
|
||||
|
||||
print_style "Stopping Docker Sync\n" "info"
|
||||
docker-sync stop
|
||||
@ -86,4 +86,4 @@ else
|
||||
print_style "Invalid arguments.\n" "danger"
|
||||
display_options
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user