Skip to content

Commit 59dff53

Browse files
authored
Don't use docker-compose down to stop containers
This delete containers and volume too. Use docker-compose stop who only stop containers
1 parent e779bf9 commit 59dff53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sync.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ if [ "$1" == "up" ] ; then
6363

6464
elif [ "$1" == "down" ]; then
6565
print_style "Stopping Docker Compose\n" "info"
66-
docker-compose down
66+
docker-compose stop
6767

6868
print_style "Stopping Docker Sync\n" "info"
6969
docker-sync stop
@@ -86,4 +86,4 @@ else
8686
print_style "Invalid arguments.\n" "danger"
8787
display_options
8888
exit 1
89-
fi
89+
fi

0 commit comments

Comments
 (0)