fix: relax Typesense health gate for RomM automation
This commit is contained in:
@@ -34,7 +34,7 @@ services:
|
||||
ggrequestz-redis:
|
||||
condition: service_healthy
|
||||
ggrequestz-typesense:
|
||||
condition: service_healthy
|
||||
condition: service_started
|
||||
ports:
|
||||
- "${GGREQUESTZ_PORT:-3003}:3000"
|
||||
environment:
|
||||
@@ -115,12 +115,9 @@ services:
|
||||
command: ["--data-dir", "/data", "--api-key", "${GGREQUESTZ_TYPESENSE_API_KEY:?set GGREQUESTZ_TYPESENSE_API_KEY in .env}", "--enable-cors"]
|
||||
volumes:
|
||||
- ${TRUENAS_DOCKER_ROOT:-/mnt/HomeStorage02/Docker}/RomMAutomation/ggrequestz/typesense:/data
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8108/health"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
start_period: 10s
|
||||
# Typesense's official image does not consistently include wget/curl, so avoid
|
||||
# a container-internal HTTP healthcheck here. GG Requestz can still retry while
|
||||
# Typesense finishes startup.
|
||||
networks:
|
||||
- romm-automation
|
||||
|
||||
|
||||
Reference in New Issue
Block a user