Skip to content

Commit

Permalink
celery container depends on redis and ES
Browse files Browse the repository at this point in the history
  • Loading branch information
snyaggarwal committed Aug 21, 2020
1 parent f1bce45 commit 16868ed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ services:
image: openconceptlab/oclapi2:${ENVIRONMENT-production}
command: sh -c ./start_celery_worker.sh
restart: "always"
depends_on:
- redis
- es
- es1
healthcheck:
test: "celery inspect ping -A core.celery"
flower:
Expand Down

0 comments on commit 16868ed

Please sign in to comment.