whishper icon indicating copy to clipboard operation
whishper copied to clipboard

[Feature] Single container setup

Open realies opened this issue 2 years ago • 6 comments

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.

realies avatar Nov 02 '23 16:11 realies

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.

coolcat97 avatar Nov 21 '23 00:11 coolcat97

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.

pluja avatar Nov 21 '23 06:11 pluja

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

coolcat97 avatar Nov 21 '23 06:11 coolcat97

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...

pluja avatar Nov 21 '23 17:11 pluja

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.

realies avatar Nov 21 '23 17:11 realies

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.

pluja avatar Nov 21 '23 18:11 pluja