healthcheck added
This commit is contained in:
1 parent
9d34315ff1
commit
b82d7f6f5d
1 file changed
+2
@@ -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}
|
||||||
|
|||||||
Reference in new issue
Block a user