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

docker-compose: add healthcheck for postgres #555

Merged
merged 1 commit into from
Dec 4, 2023

Conversation

pjonsson
Copy link
Contributor

@pjonsson pjonsson commented Nov 21, 2023

This makes "docker compose up --wait" return
when the database can be connected to through
the hostname.


📚 Documentation preview 📚: https://datacube-explorer--555.org.readthedocs.build/en/555/

Copy link

codecov bot commented Nov 21, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (d7fa351) 85.88% compared to head (5eca904) 85.88%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #555   +/-   ##
========================================
  Coverage    85.88%   85.88%           
========================================
  Files           26       26           
  Lines         3457     3457           
========================================
  Hits          2969     2969           
  Misses         488      488           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

This makes "docker compose up --wait" return
when the database can be connected to through
the hostname.
@pjonsson pjonsson force-pushed the compose-check-health branch from dab5e29 to 5eca904 Compare December 2, 2023 12:42
Copy link
Member

@omad omad left a comment

Choose a reason for hiding this comment

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

Handy, thanks.

@omad omad merged commit fa2cb6b into opendatacube:develop Dec 4, 2023
7 checks passed
@pjonsson pjonsson deleted the compose-check-health branch December 4, 2023 08:13
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.

2 participants