Closed MyNameIsAndrew-Mangix closed 2 months ago
- the reset clean and purge commands may just need better documentation but seem to be very similar.
Clean was my suggestion, I feel it could beneficially be further refined to only remove our custom images, not third-party ones like Mongo or OpenSearch. This could be achieved, for example, by filtering those matching agile-learning-institute
To list profiles
docker compose -f "$INSTALL_PATH/docker-compose.yaml" config --profiles
To list services
docker compose -f "$INSTALL_PATH/docker-compose.yaml" --profile '*' config --services
For a command to list profiles, see also #51
- the reset clean and purge commands may just need better documentation but seem to be very similar.
- Reset: Deletes all docker containers from any source
- Clean: Parses the compose file and deletes any images referenced therein and containers associated with one of the compose file's services
- Purge: Deletes all docker containers and images from any source
Clean was my suggestion, I feel it could beneficially be further refined to only remove our custom images, not third-party ones like Mongo or OpenSearch. This could be achieved, for example, by filtering those matching
agile-learning-institute
So - I think we can deprecate Purge and Reset (if I remember, you suggested this at the time)
mh up
no longer callsmh down
, allowing the following usage:mh up person-api,topic-api,etc