Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🩺 add celery healthcheck #427

Merged
merged 2 commits into from
Jul 29, 2024

Conversation

sjoerdie
Copy link
Contributor

Fixes #424

Changes

  • Add celery health check (Same as open_inwoner and openforms)

docker-compose.yml Outdated Show resolved Hide resolved
@@ -36,6 +36,15 @@ services:
- DEMO_TOKEN=demo-random-string
- DEMO_PERSON=Demo
- [email protected]
healthcheck:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps this check can be moved to web-init service, because "web" service depends on it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better leave it here, the init container will go down anyway when its done, also celery depends on the "web" service health check:

    depends_on:
      web:
        condition: service_healthy

@sjoerdie sjoerdie requested a review from annashamray July 29, 2024 09:16
@sjoerdie sjoerdie merged commit f372474 into maykinmedia:master Jul 29, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Celery support health checks
2 participants