[Feature] Single container setup
I think usability would improve a lot if there's a single Docker image exposing the reverse proxy, allowing to use whishper without the need for a Docker compose stack.
I'm trying to figure out how to completely containerize it with docker, but it's giving me a weird error when running the YML. Saying missing folders or something.
I will try to look at doing this, but right now I'm out of time... I will try to look at it as soon as I can, since that would be really good.
I will try to look at doing this, but right now I'm out of time... I will try to look at it as soon as I can, since that would be really good.
awesome! I can't wait to try this out once this part is implemented! Cheers!! awesome project
Hi, the commit 8dca6cc8971f2e0963ef6892cda8f86d63334aa7 consolidates all Whishper services into a single one. It only needs two extra containers: the database and libretranslate (which is optional). Would this be enough? I don't think it makes much sense consolidating it further with libretranslate and mongodb inside...
Thanks for working on this, @pluja! I think that's much better already, although it would be awesome to run one command and for the stack to bootstrap itself and be ready to use. I can take a look at adding those to supervisord.conf - it could be released as a separate image tag if you think it's not a good idea to carry the rest of the services in the latest image.
That's OK for me if you want to take a look at it. An all-in-one image will be heavy, but it will be handy for some setups. You should make sure the database and LibreTranslate services are available inside the container, and it should work with a few tweaks to nginx.conf and supervisord.conf.
Otherwise, I may give it a shot sometime, but for now I will focus on other tasks.