Skip to content

Commit

Permalink
Clean up docker volumes when site-reset requested
Browse files Browse the repository at this point in the history
  • Loading branch information
delawski committed Jan 4, 2022
1 parent e319845 commit c34e10f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/local-env/stop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ fi
# Stop existing containers.
if [ "$1" == "--down" ]; then
echo -e $(status_message "Stopping and removing Docker containers...")
dc down --remove-orphans >/dev/null 2>&1
dc down --volumes --remove-orphans >/dev/null 2>&1
else
echo -e $(status_message "Stopping Docker containers...")
dc stop >/dev/null 2>&1
Expand Down

0 comments on commit c34e10f

Please sign in to comment.