Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

Fixes #2583 add RabbitMQ health check and update API container dependencies (#2605)

Trevor Sullivana62739c78a88
diff --git a/docker-compose.yaml b/docker-compose.yaml
index b66cbec0c..7c9a59985 100644
--- a/docker-compose.yaml
+++ b/docker-compose.yaml
@@ -95,9 +95,12 @@ services:
NUQ_RABBITMQ_URL: amqp://rabbitmq:5672
ENV: local
depends_on:
- - redis
- - playwright-service
- - rabbitmq
+ redis:
+ condition: service_started
+ playwright-service:
+ condition: service_started
+ rabbitmq:
+ condition: service_healthy
ports:
- "${PORT:-3002}:${INTERNAL_PORT:-3002}"
command: node dist/src/harness.js --start-docker
@@ -129,6 +132,12 @@ services:
networks:
- backend
command: rabbitmq-server
+ healthcheck:
+ test: ["CMD", "rabbitmq-diagnostics", "-q", "check_running"]
+ interval: 5s
+ timeout: 5s
+ retries: 3
+ start_period: 5s
logging:
driver: "json-file"
options: