Add flag --aio
or --all
to the start
command
#1211
Labels
enhancement
New feature or request
Milestone
Feature Request
Is your feature request related to a problem? Please describe.
Currently when I want to distribute my application via Docker I need to host two services because it is not possible to run the server, worker and scheduler in one process.
Also someone else asked about this:
#1198 (comment)
This is also where I noticed I would benefit from the feature.
IMO the big point is that both the end-user and developer would benefit from this feature.
Easier deployment for the end-user and easier development as everything can be started with one command.
Describe the solution you'd like
Currently there is a flag to start the server and worker (
--server-and-worker
) I would introduce something similar for the scheduler.But maybe we could replace this flag with something like (
--components=server,worker,scheduler
) to keep it modular?This could also be done without any breaking changes. Just dont remove the old flag and deprecate it.
The easiest way would of course be a
--all
flag and I do not think there is a use case where you want to start the server and scheduler but not the worker, but maybe I am wrong there.Describe alternatives you've considered
In docker you could run two services managed by supervisord.
This isn't optimal and not very "dockerly" but it would work.
Contribution
Again if this is wanted and we can agree to a solution I am open to contribute.
The text was updated successfully, but these errors were encountered: