This is an automated email from the git hooks/post-receive script. New commit to branch bow-v2-go in repository bow. See https://gitlab.nuiton.org/chorem/bow.git commit 61ffa37911eb490a4b322a2bfacade3f92d93be7 Author: Andrés Maldonado <amaldona@etu.utc.fr> Date: Tue Aug 18 15:13:02 2020 +0200 Ajout healthchecks Signed-off-by: Benjamin <poussin@codelutin.com> --- docker/docker-compose.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index bf85337..6b0c10f 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -40,6 +40,12 @@ services: reservations: cpus: '0.02' memory: 50M + healthcheck: + test: pg_isready -q -d ${POSTGRES_DB} -U ${POSTGRES_USER} || exit 1 + interval: 1m30s + timeout: 10s + retries: 3 + start_period: 3m bow: image: registry.nuiton.org/chorem/bow:$CI_COMMIT_REF_SLUG @@ -76,3 +82,9 @@ services: - traefik.http.routers.bow.tls.certresolver=codelutin - caddy=bookmarks.cl - caddy.reverse_proxy="{{upstreams 8000}}" + # healthcheck: + # test: bow --healthcheck # À implémenter + # interval: 1m30s + # timeout: 10s + # retries: 3 + # start_period: 3m -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.