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

chore: Make celery container depend on web #7257

Merged
merged 1 commit into from
Sep 10, 2020
Merged

Conversation

iamareebjamal
Copy link
Member

@iamareebjamal iamareebjamal commented Sep 10, 2020

Celery gets restarted with web on code changes and runs before migrations are complete. This results in table/column not found errors. It depending on web will mean that it won't run until the migrations are run and server has started. It does add unnecessary coupling between celery and web container but it is the easiest way to ensure this without creating locking issues

@auto-label auto-label bot added the chore label Sep 10, 2020
@iamareebjamal iamareebjamal merged commit daef60c into development Sep 10, 2020
@iamareebjamal iamareebjamal deleted the docker-celery branch September 10, 2020 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant