From a4541e423eec18775feb3d245702c3798fd602b9 Mon Sep 17 00:00:00 2001 From: Julien Tant <785518+JulienTant@users.noreply.github.com> Date: Wed, 27 Sep 2023 10:32:27 -0700 Subject: [PATCH 1/2] make nuke not remove images --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 From aed42015c47af44e88bc9d19ca03e7b0a6af473d Mon Sep 17 00:00:00 2001 From: Julien Tant <785518+JulienTant@users.noreply.github.com> Date: Wed, 27 Sep 2023 10:40:17 -0700 Subject: [PATCH 2/2] Update README.md --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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.