From b82d7f6f5d014e6975abe56ee7bee9024b97376a Mon Sep 17 00:00:00 2001 From: Michel Date: Sat, 9 Sep 2023 23:42:01 +0200 Subject: [PATCH] healthcheck added --- gitea/compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gitea/compose.yml b/gitea/compose.yml index 9e8153a..be63d9c 100644 --- a/gitea/compose.yml +++ b/gitea/compose.yml @@ -4,6 +4,8 @@ services: container_name: ${GITEA_CONTAINER_NAME:-Gitea} image: gitea/gitea:${GITEA_TAG:-latest} restart: ${RESTART:-unless-stopped} + healthcheck: + test: curl -f http://localhost:3000/ || exit 1 environment: USER_UID: ${UID:-1024} USER_GID: ${GID:-101}