From 9ecd8cd9409866d57595ac00ba1b51cdebe312a1 Mon Sep 17 00:00:00 2001 From: Graham Veal Date: Wed, 29 Jan 2020 15:08:01 +0000 Subject: [PATCH] Remove the wait from celery for the api After testing this stops my celery container from starting, giving me no companies As the elastic search index is not filled --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index b7cf72cc6d..6de2fa9a44 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -23,7 +23,7 @@ services: context: . volumes: - .:/app - entrypoint: dockerize -wait tcp://postgres:5432 -wait tcp://mi-postgres:5432 -wait tcp://es:9200 -wait tcp://redis:6379 -wait tcp://api:8000 -timeout 180s + entrypoint: dockerize -wait tcp://postgres:5432 -wait tcp://mi-postgres:5432 -wait tcp://es:9200 -wait tcp://redis:6379 -timeout 180s env_file: .env command: watchmedo auto-restart -d . -R -p '*.py' -- celery worker -A config -l info -Q celery -B