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

featureflagservice: add healthcheck to postgres dependency #315

Merged
merged 1 commit into from
Aug 17, 2022

Conversation

tsloughter
Copy link
Member

This should fix the issue where the FeatureFlagService migrations fail because postgres isn't actually "ready" it is only "started".

Instead of depending only on the postgres container being started it now depends on it being healthy too.

A problem is that condition: service_healthy is not in the compose v3 docs (only v2). But it does seem that it might be working.

If it doesn't work in v3 I'd argue we should switch to v2. Unless there are features from v3 being used (I don't see any) then use of v2 (specifically version: '2.4') makes sense. My understanding is that v3 isn't really an update to compose v2 but that they can be thought of as separate, where v3 is meant for Swarm use.

@tsloughter tsloughter requested a review from a team August 17, 2022 18:47
@tsloughter tsloughter mentioned this pull request Aug 17, 2022
1 task
Copy link
Contributor

@puckpuck puckpuck left a comment

Choose a reason for hiding this comment

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

Thanks for figuring this one out

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.

3 participants