Wait for PostgreSQL DB ready to run any SQL
5.0K
Source: Dockerfile
docker pull deaddev/wait-for-pg
# or
docker pull ghcr.io/zigzagt/wait-for-pg
Wait for PostgreSQL DB ready to execute a SQL by running select version() every 2 seconds.
Specify these environment variables to target the pg database for waiting:
DB_HOSTDB_PORTDB_USERNAMEDB_PASSWORDThis image can be used as initContainers in Kubernetes Pods. Useful for CI deployments.
Content type
Image
Digest
sha256:e7a326dc9…
Size
9.1 MB
Last updated
3 days ago
docker pull deaddev/wait-for-pg