diff --git a/Makefile b/Makefile index 52c0fa5..4b9b7b1 100644 --- a/Makefile +++ b/Makefile @@ -68,6 +68,10 @@ delete-data: stop delete-dockerfiles nuke: @echo "Nuking Docker..." - @docker-compose down --rmi all --volumes --remove-orphans + @docker-compose down --volumes --remove-orphans @make delete-data +nuke-rmi: + @echo "Nuking Docker with images..." + @docker-compose down --rmi all --volumes --remove-orphans + @make delete-data diff --git a/README.md b/README.md index cce0bb8..224f040 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,10 @@ This clears all data from the volumes and stops Mattermost. Destroys everything (Except your life). +### `make nuke-rmi` + +Destroys everything, and removes the docker images used. + ## Accounts | Username | Password | Keycloak Role | Mattermost Role | Can use LDAP? | Can use SAML? | @@ -116,4 +120,4 @@ All the Mattermost grafana charts are already installed and linked, you just hav 1. Go to `localhost:3000` 2. Sign in with `admin` / `admin`. Change the password if you want, I don't suggest it. 3. Click `Dashboards` > `Manage` -4. Click any of the dashboards you want to view. \ No newline at end of file +4. Click any of the dashboards you want to view.