File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -103,6 +103,12 @@ dsh_stop() {
103103
104104 notice " Stopping containers."
105105 docker-compose stop
106+ }
107+
108+ # Command: ./dsh stop
109+ # Stops project, then takes down containers and removes volumes if possible.
110+ dsh_purge () {
111+ dsh_stop
106112 if docker network ls | grep " \s${PROJECT} _default" > /dev/null; then
107113 notice " Disconnecting nginx proxy from network."
108114 set +e
@@ -111,12 +117,6 @@ dsh_stop() {
111117 docker network rm ${PROJECT} _default
112118 set -e
113119 fi
114- }
115-
116- # Command: ./dsh stop
117- # Stops project, then takes down containers and removes volumes if possible.
118- dsh_purge () {
119- dsh_stop
120120 notice " Taking down containers, removing volumes if possible."
121121 set +e
122122 docker-compose down -v
You can’t perform that action at this time.
0 commit comments