We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 416cd77 commit a9d5ef1Copy full SHA for a9d5ef1
backend/bin/setup_configuration.sh
@@ -1,6 +1,9 @@
1
#!/bin/sh
2
3
# Waiting for database to be up
4
+export PGHOST=${DB_HOST:-db}
5
+export PGPORT=${DB_PORT:-5432}
6
+
7
until pg_isready; do
8
>&2 echo "Waiting for database connection..."
9
sleep 1
0 commit comments