1
0
mirror of https://github.com/coltoneshaw/CS-Repro-Mattermost.git synced 2025-12-23 10:01:30 +01:00

Merge pull request #5 from JulienTant/patch-1

Make nuke not remove images (and add an option to do it)
This commit is contained in:
Colton Shaw
2023-09-27 10:41:30 -07:00
committed by GitHub
2 changed files with 10 additions and 2 deletions

View File

@@ -68,6 +68,10 @@ delete-data: stop delete-dockerfiles
nuke: nuke:
@echo "Nuking Docker..." @echo "Nuking Docker..."
@docker-compose down --rmi all --volumes --remove-orphans @docker-compose down --volumes --remove-orphans
@make delete-data @make delete-data
nuke-rmi:
@echo "Nuking Docker with images..."
@docker-compose down --rmi all --volumes --remove-orphans
@make delete-data

View File

@@ -60,6 +60,10 @@ This clears all data from the volumes and stops Mattermost.
Destroys everything (Except your life). Destroys everything (Except your life).
### `make nuke-rmi`
Destroys everything, and removes the docker images used.
## Accounts ## Accounts
| Username | Password | Keycloak Role | Mattermost Role | Can use LDAP? | Can use SAML? | | Username | Password | Keycloak Role | Mattermost Role | Can use LDAP? | Can use SAML? |