HF RL Explorer

Task: Docker PostgreSQL Readiness Check Script

Task: Docker PostgreSQL Readiness Check Script: a task in Terminal-Lego-15k (Harbor dataset). Create a shell script that reliably checks if a PostgreSQL server is ready to accept connections from within a Docker container, solving the common problem of service startup ordering in Docker…

The task

Create a shell script that reliably checks if a PostgreSQL server is ready to accept connections from within a Docker container, solving the common problem of service startup ordering in Docker environments (e.g., waiting for PostgreSQL before running database migrations).

Part of PrimeIntellect/Terminal-Lego-15k.