Skip to content

feat: add health check in echo sql compose db - #176

Merged
officialasishkumar merged 1 commit into
mainfrom
feat/health-check
Oct 1, 2025
Merged

feat: add health check in echo sql compose db#176
officialasishkumar merged 1 commit into
mainfrom
feat/health-check

Conversation

@officialasishkumar

Copy link
Copy Markdown
Contributor

No description provided.

Signed-off-by: Asish Kumar <officialasishkumar@gmail.com>
Copilot AI review requested due to automatic review settings September 30, 2025 23:51

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a health check configuration to the PostgreSQL service in the docker-compose.yml file for the echo-sql project. The change ensures that dependent services wait for the database to be fully ready before starting.

  • Added health check configuration to the postgres service using pg_isready command
  • Updated the depends_on configuration to use the service_healthy condition
  • Removed commented-out volume mount for postgres-data

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@officialasishkumar
officialasishkumar merged commit 6753150 into main Oct 1, 2025
19 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.

3 participants