mirror of
https://github.com/TecharoHQ/anubis.git
synced 2026-04-09 10:08:45 +00:00
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>
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user