Commit 41429149 authored by Dominique Barton's avatar Dominique Barton 🦄
Browse files

FEATURE: Add health checks to Docker chapter

parent cb8b196d
...@@ -6,7 +6,18 @@ We've dedicated `Docker <http://docker.com/>`_ development & production servers: ...@@ -6,7 +6,18 @@ We've dedicated `Docker <http://docker.com/>`_ development & production servers:
- ``dev1.[pvt|pub].confirm.ch`` or simply ``dev.confirm.ch`` for all **development** environment - ``dev1.[pvt|pub].confirm.ch`` or simply ``dev.confirm.ch`` for all **development** environment
- ``prod1.pub.confirm.ch`` or simply ``prod.confirm.ch`` for all **live** environments - ``prod1.pub.confirm.ch`` or simply ``prod.confirm.ch`` for all **live** environments
We're also running our own :ref:`Docker Registry` which can be used to push Docker images. We're also running our own :ref:`Docker Registries` which can be used to push Docker images.
Health Checks
-------------
Please ensure you add proper health checks to your Docker images by providing a `HEALTHCHECK <https://docs.docker.com/engine/reference/builder/#healthcheck>`_ Dockerfile directive.
.. hint::
Docker will automatically restart crashed containers. However, unhealthy containers won't be restarted automatically.
Thus we've a rather simple `Healer <https://git.confirm.ch/confirm/docker-healer>`_ container which restarted unhealthy containers.
Portainer Portainer
--------- ---------
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment