I am working on a project which consists of docker-compose.yml file (with published public docker images) together with environment files.
Typically, a user would
git clone
the repo- make the necessary changes to the environment files
- run
docker-compose up
- Figure out whats wrong with his config changes. Go to step 2.
- Eventually be happy
As working with docker and changing variables for non-devs can be a bit tedious, I was wondering if its possible to wrap the entire repo in a python wheel/pip installable package to improve the UX by allowing the user to;
pip install mypackage
(which would also install docker-compose etc.)mypackage start --variant=two --path=/home/
(does the config changes automatically)- Be happy
Is it possible to do something like this with python wheel or does it require some black magick and/or is this considered a safety risk/not recommended?