Wait for PostgreSQL DB ready to run any SQL
4.7K
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:1264bd4cf…
Size
9.1 MB
Last updated
1 day ago
docker pull deaddev/wait-for-pg