Show HN: Miniboss, versatile local container management with Python
I've definitely experienced the problems of using Docker Compose for local dev. Oh, that file changed? Control-C to kill the whole cluster. Wait until the DB flushes. Start it again.And if you just want to restart one service? Well you have to run 4 commands[0] in order to properly do it...And what the author was saying about needing to "template" the YAML files is also true. In the past, when shipping an Open Source library for others to use, we had to wrap Docker Compose in a CLI that generates the YAML file and then invokes Docker Compose for you. (See it here[1][2][3])It sucks and this library definitely solves a real problem!0: https://stackoverflow.com/questions/31466428/how-to-restart-...1: The code: https://github.com/lunasec-io/lunasec/blob/master/js/sdks/pa...2: The package it lives in: https://github.com/lunasec-io/lunasec/tree/master/js/sdks/pa...3: The docs for the wrapped CLI: https://www.lunasec.io/docs/pages/overview/demo-app/overview