Skip to content

Commit a9d5ef1

Browse files
committed
🔧 [#521] Handle different pg host/port
1 parent 416cd77 commit a9d5ef1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

backend/bin/setup_configuration.sh

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#!/bin/sh
22

33
# Waiting for database to be up
4+
export PGHOST=${DB_HOST:-db}
5+
export PGPORT=${DB_PORT:-5432}
6+
47
until pg_isready; do
58
>&2 echo "Waiting for database connection..."
69
sleep 1

0 commit comments

Comments
 (0)