mirror of
https://github.com/TecharoHQ/anubis.git
synced 2026-04-12 03:28:45 +00:00
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>
16 lines
320 B
YAML
16 lines
320 B
YAML
services:
|
|
web:
|
|
image: ghcr.io/xe/nginx-micro:v1.29.0
|
|
|
|
anubis:
|
|
image: ko.local/anubis
|
|
environment:
|
|
TARGET: http://web:80
|
|
USE_REMOTE_ADDRESS: "true"
|
|
healthcheck:
|
|
test: ["CMD", "anubis", "--healthcheck"]
|
|
interval: 5s
|
|
timeout: 30s
|
|
retries: 5
|
|
start_period: 500ms
|