Running ragna ui in daemon mode with configurable number of workers #208
-
Is there any way to run ragna ui in daemon mode with a configurable number of workers? I could run it using nohup once I know how to set the number of workers in the config file, but it would be nice to have a cross platform daemon mode. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
I don't understand the question. What do you want to achieve. What does "daemon" mean for you in this context?
Yes, of course. You just need to start the worker and API manually, i.e. $ ragna worker --num-threads 16
$ ragna api --no-start-worker
$ ragna ui --no-start-api By default |
Beta Was this translation helpful? Give feedback.
-
Thank you so much... I'm thinking of running this on a Kubernetes cluster at home to learn more about Kubernetes... so perfect!!! |
Beta Was this translation helpful? Give feedback.
Sorry, misunderstood your question in that case. We are not planning anything there. We'll provide a Dockerfile soon and will probably also have
compose.yml
as example to deploy like that. If you want a sneak peek have a look at thedocker
branch. That is roughly what we used for our PyData talk. Deploy was actually a lot harder, but I used this for local testing.