This commit is contained in:
parent
d2205b11a7
commit
02b9aebbe5
341 changed files with 1571 additions and 32574 deletions
|
|
@ -2,13 +2,13 @@ services:
|
|||
web:
|
||||
image: ghcr.io/xe/nginx-micro:v1.29.0
|
||||
|
||||
anubis:
|
||||
image: ko.local/anubis
|
||||
nuke:
|
||||
image: ko.local/nuke
|
||||
environment:
|
||||
TARGET: http://web:80
|
||||
USE_REMOTE_ADDRESS: "true"
|
||||
healthcheck:
|
||||
test: ["CMD", "anubis", "--healthcheck"]
|
||||
test: ["CMD", "nuke", "--healthcheck"]
|
||||
interval: 5s
|
||||
timeout: 30s
|
||||
retries: 5
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ set -u
|
|||
|
||||
source ../lib/lib.sh
|
||||
|
||||
build_anubis_ko
|
||||
build_nuke_ko
|
||||
docker compose up -d
|
||||
|
||||
attempt=1
|
||||
|
|
@ -27,4 +27,4 @@ while ! docker compose ps | grep healthy; do
|
|||
attempt=$(( attempt + 1 ))
|
||||
done
|
||||
|
||||
exit 0
|
||||
exit 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue