-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why you using supervisor? #17
Comments
To manage multiple processes such as Horizon, Scheduler, or any other scripts alongside Octane command in some container modes, we need to use a process manager like The official OpenSwoole/Swoole Docker images also use Supervisor to manage Swoole processes. |
It break the concept one servicer per contaiter. And may make trouble, for example when second service will always down you d't know about. Just used another container. https://docs.docker.com/config/containers/multi-service_container/ |
Yeap, but sometimes we need something that doesn't follow the best practice. If you want to have the Horizon dashboard in a queue container, so an HTTP server process is required. |
Using supervisor in container as main process is bad practice.
It req additional resources, it useless mediator via our app.
Why you not used only octane?
The text was updated successfully, but these errors were encountered: