[IMP] Odoo 15.0-17.0: Add support for docker healthcheck.#425
[IMP] Odoo 15.0-17.0: Add support for docker healthcheck.#425amh-mw wants to merge 1 commit intoodoo:masterfrom
Conversation
|
Per the Dockerfile reference 1, On my local container, Odoo stands up in about eight seconds. This includes some reasonable number of modules already installed, but without --init or --upgrade. The defaults seem fine to me. Footnotes |
|
This will fail if either the longpolling port or the longpolling port is changed. |
If the user is savvy enough to change the ports, they can also change the health check.
This is a fair point. I've removed the longpolling/websocket health check. |
|
@amh-mw an idea to maybe get this added would be to add it commented-out so that people can uncomment and build with healthchecks. I use this pattern for example which allows me to copy and paste among various HTTP based services. Feel free to borrow the idea to remove the piped exit |
The |
Fixes #115. Utilizes the endpoints added in odoo/odoo#56522.