This commit is contained in:
M. Mügge 2019-08-25 11:28:23 +00:00 committed by GitHub
commit 5f176409f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,6 +59,9 @@ RUN mkdir -p /mnt/extra-addons \
&& chown -R 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 8069 8071