This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Docker Compose configuration for setting up a PostgreSQL container with a health check | |
| # | |
| # This configuration pulls the latest PostgreSQL image and sets up a health check | |
| # to monitor if the PostgreSQL service is ready to accept connections. The health check | |
| # uses the 'pg_isready' command to check database readiness. | |
| # | |
| # Environment variables are used to configure PostgreSQL credentials and database settings. | |
| services: | |
| postgres: |