[IMP] Odoo 15.0-17.0: Add support for docker healthcheck.
This commit is contained in:
parent
c8eeb99e72
commit
6154c6c9db
@ -75,6 +75,7 @@ VOLUME ["/var/lib/odoo", "/mnt/extra-addons"]
|
||||
|
||||
# Expose Odoo services
|
||||
EXPOSE 8069 8071 8072
|
||||
HEALTHCHECK CMD curl --fail http://localhost:8069/web/health || exit 1
|
||||
|
||||
# Set the default config file
|
||||
ENV ODOO_RC /etc/odoo/odoo.conf
|
||||
|
@ -89,6 +89,7 @@ VOLUME ["/var/lib/odoo", "/mnt/extra-addons"]
|
||||
|
||||
# Expose Odoo services
|
||||
EXPOSE 8069 8071 8072
|
||||
HEALTHCHECK CMD curl --fail http://localhost:8069/web/health || exit 1
|
||||
|
||||
# Set the default config file
|
||||
ENV ODOO_RC /etc/odoo/odoo.conf
|
||||
|
@ -91,6 +91,7 @@ VOLUME ["/var/lib/odoo", "/mnt/extra-addons"]
|
||||
|
||||
# Expose Odoo services
|
||||
EXPOSE 8069 8071 8072
|
||||
HEALTHCHECK CMD curl --fail http://localhost:8069/web/health || exit 1
|
||||
|
||||
# Set the default config file
|
||||
ENV ODOO_RC /etc/odoo/odoo.conf
|
||||
|
Loading…
Reference in New Issue
Block a user