Skip to content

Commit

Permalink
fix health check
Browse files Browse the repository at this point in the history
  • Loading branch information
depsiatwal committed Jun 27, 2024
1 parent 7127ea3 commit aae68ae
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@ services:
- redis
command: pipenv run watchmedo auto-restart -d . -R -p '*.py' -- celery -A conf worker -l info

healthcheck:
test: [ "CMD-SHELL", "python -m dbt_copilot_python.celery_health_check.healthcheck" ]
interval: 10s
timeout: 5s
retries: 2
start_period: 5s

celery-beat:
build: .
volumes:
Expand All @@ -66,13 +73,6 @@ services:
- redis
command: pipenv run watchmedo auto-restart -d . -R -p '*.py' -- celery -A conf beat

healthcheck:
test: [ "CMD-SHELL", "python -m dbt_copilot_python.celery_health_check.healthcheck" ]
interval: 10s
timeout: 5s
retries: 2
start_period: 5s

redis:
image: "redis:5-alpine"
container_name: hmrc-redis
Expand Down

0 comments on commit aae68ae

Please sign in to comment.