healthcheck added

This commit is contained in:
2023-09-09 23:42:01 +02:00
parent 9d34315ff1
commit b82d7f6f5d
+2
View File
@@ -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}