healthcheck added

This commit is contained in:
Michel committed 2023-09-09 23:42:01 +02:00
1 parent 9d34315ff1
commit b82d7f6f5d
1 file changed
+2
+2
View File
@@ -4,6 +4,8 @@ services:
container_name: ${GITEA_CONTAINER_NAME:-Gitea} container_name: ${GITEA_CONTAINER_NAME:-Gitea}
image: gitea/gitea:${GITEA_TAG:-latest} image: gitea/gitea:${GITEA_TAG:-latest}
restart: ${RESTART:-unless-stopped} restart: ${RESTART:-unless-stopped}
healthcheck:
test: curl -f http://localhost:3000/ || exit 1
environment: environment:
USER_UID: ${UID:-1024} USER_UID: ${UID:-1024}
USER_GID: ${GID:-101} USER_GID: ${GID:-101}