Added Docker healthcheck for /10.0
This commit is contained in:
parent
f8af1a80b1
commit
60869627fe
@ -42,6 +42,9 @@ RUN mkdir -p /mnt/extra-addons \
|
|||||||
&& chown -R odoo /mnt/extra-addons
|
&& chown -R odoo /mnt/extra-addons
|
||||||
VOLUME ["/var/lib/odoo", "/mnt/extra-addons"]
|
VOLUME ["/var/lib/odoo", "/mnt/extra-addons"]
|
||||||
|
|
||||||
|
# the Docker healthcheck command
|
||||||
|
HEALTHCHECK CMD curl --fail http://localhost:8069/web/database/selector || exit 1
|
||||||
|
|
||||||
# Expose Odoo services
|
# Expose Odoo services
|
||||||
EXPOSE 8069 8071
|
EXPOSE 8069 8071
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user