1
1
Fork 1
mirror of https://github.com/go-gitea/gitea.git synced 2024-05-28 17:46:12 +02:00
gitea/docs/content/doc/installation
ttys3 e933f31426
Add health check endpoint (#18465)
* chore: add health check endpoint

docs: update document about health check

fix: fix up Sqlite3 ping. current ping will success even if the db file is missing

fix: do not expose privacy information in output field

* refactor: remove HealthChecker struct

* Added `/api/healthz` to install routes.

This was needed for using /api/healthz endpoint in Docker healthchecks,
otherwise, Docker would never become healthy if using healthz endpoint
and users would not be able to complete the installation of Gitea.

* Update modules/cache/cache.go

* fine tune

* Remove unnecessary test code. Now there are 2 routes for installation (and maybe more in future)

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Marcos de Oliveira <marcossantos@furb.br>
2022-05-04 14:56:20 +03:00
..
database-preparation.en-us.md Add minimum versions of databases to the docs (#17080) 2021-09-17 23:25:50 +01:00
from-binary.en-us.md Upgrade required git version to 2.0 (#19577) 2022-05-02 20:30:24 +08:00
from-binary.fr-fr.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
from-binary.zh-cn.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
from-binary.zh-tw.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
from-package.en-us.md Add snap to docs (#16530) 2021-07-24 14:06:38 +01:00
from-package.fr-fr.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
from-package.zh-cn.md docs: add various ways to install from package (#18120) 2021-12-30 12:28:56 +08:00
from-package.zh-tw.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
from-source.en-us.md Fix various typos of software names (#18083) 2021-12-24 11:56:57 +08:00
from-source.fr-fr.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
from-source.zh-cn.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
from-source.zh-tw.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
on-cloud-provider.md Update on-cloud-provider.md (#18807) 2022-02-18 23:26:00 +08:00
on-kubernetes.en-us.md Add health check endpoint (#18465) 2022-05-04 14:56:20 +03:00
on-kubernetes.zh-tw.md Add health check endpoint (#18465) 2022-05-04 14:56:20 +03:00
run-as-service-in-ubuntu.en-us.md Fix various typos of software names (#18083) 2021-12-24 11:56:57 +08:00
run-as-service-in-ubuntu.zh-cn.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
run-as-service-in-ubuntu.zh-tw.md [docs] Add zh-tw Translations (#14507) 2021-01-29 01:57:58 +01:00
windows-service.en-us.md Fix various typos of software names (#18083) 2021-12-24 11:56:57 +08:00
windows-service.fr-fr.md docs: fix various typos and translate to french (#16477) 2021-07-18 12:21:32 -04:00
windows-service.zh-cn.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
windows-service.zh-tw.md [docs] Add zh-tw Translations (#14507) 2021-01-29 01:57:58 +01:00
with-docker-rootless.en-us.md upgrade postgres refrence to 14 (#19416) 2022-04-16 11:59:56 -04:00
with-docker.en-us.md upgrade postgres refrence to 14 (#19416) 2022-04-16 11:59:56 -04:00
with-docker.fr-fr.md Fix two typos (#19504) 2022-04-26 18:01:42 +02:00
with-docker.zh-cn.md upgrade postgres refrence to 14 (#19416) 2022-04-16 11:59:56 -04:00
with-docker.zh-tw.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00