ujetl/docker/test_db/is_ready

3 lines
109 B
Bash

#!/bin/bash
/usr/lib/postgresql/9.6/bin/psql -U postgres -c "SELECT 1 FROM public.container_ready" postgres