Last active
August 12, 2022 10:31
-
-
Save deangrant/5243766d9e2ac9ca3e9c2dabf5c9ef3a to your computer and use it in GitHub Desktop.
Configure a check that’s run to determine whether or not a PostgreSQL containers for this service are healthy
This file contains 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
healthcheck: | |
test: ["CMD-SHELL", "pg_isready -U postgres"] | |
interval: 10s | |
timeout: 5s | |
retries: 5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment