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
2
sync.sh
2
sync.sh
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user