diff --git a/compose.yaml b/compose.yaml index 2c051f5..95b09d3 100644 --- a/compose.yaml +++ b/compose.yaml @@ -8,11 +8,16 @@ services: - API_HOSTNAME=http://localhost:8000 ports: - 8000:8000 + depends_on: + - redis + redis: container_name: redis image: redis:latest ports: - 6379:6379 + healthcheck: + test: [ "CMD", "redis-cli", "--raw", "incr", "ping" ] celery: container_name: celery