web start --foreground#4604
Conversation
|
this is not needed |
|
I think this would be useful for a production OMERO.web docker container (which shouldn't use systemd) |
|
@manics I am not really sure if that is needed. I added shutdown script in ome/devspace@dc08975. This only send gunicorn to stdout |
|
As far as I understood docker by default won't handle proper cleanup. It will just sent SIGTERM but that is not enough. |
|
I would vote after closing this PR and not allowing this. |
|
That cleanup script is fine for a dev container, but the best-practice for a production docker image is to have a single process in the foreground. If SIGTERM isn't enough, what changes are required to OMERO.web to handle it? |
|
I pushed the pid cleanup |
|
anyway that will be useful for debugging when web doesn't start |
|
Works nicely: Good to merge |
This PR allows starting OMERO.web without daemon, in docker web won't start otherwise