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