feat(anubis): add /healthz route to metrics server (#843)
* feat(anubis): add /healthz route to metrics server Also add health check test for Docker Compose and update documentation for health checking Anubis with Docker Compose. Signed-off-by: Xe Iaso <me@xeiaso.net> * chore: spelling Signed-off-by: Xe Iaso <me@xeiaso.net> --------- Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
parent
509a4f3ce8
commit
68b653b099
13 changed files with 372 additions and 248 deletions
|
|
@ -12,11 +12,11 @@ services:
|
|||
anubis:
|
||||
image: ko.local/anubis
|
||||
environment:
|
||||
BIND: ":3000"
|
||||
BIND: ":8005"
|
||||
TARGET: http://cgit:80
|
||||
USE_REMOTE_ADDRESS: "true"
|
||||
ports:
|
||||
- 3000:3000
|
||||
- 8005:8005
|
||||
|
||||
volumes:
|
||||
cgit-data:
|
||||
|
|
|
|||
|
|
@ -21,6 +21,6 @@ docker compose up -d
|
|||
|
||||
sleep 2
|
||||
|
||||
(cd ./var/clones && git clone http://localhost:3000/status.git)
|
||||
(cd ./var/clones && git clone http://localhost:8005/status.git)
|
||||
|
||||
docker compose down
|
||||
Loading…
Add table
Add a link
Reference in a new issue