Docker-Swarm-Loadbalancer/postgres/postgres_healthcheck.sh

3 lines
78 B
Bash
Raw Normal View History

2024-02-15 00:36:29 +00:00
#!/bin/bash
2024-02-15 00:38:21 +00:00
PG_PASSWORD=${POSTGRES_PASSWORD} pg_isready -U "${POSTGRES_USER}"