Skip to content

Commit b354e47

Browse files
bastianjoelopenslides-automation
authored andcommitted
Fix entrypoint not waiting for postgres (#421)
1 parent be4bbc9 commit b354e47

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22

3-
if [ ! $ANONYMOUS_ONLY -a $DATABASE_HOST -a $DATABASE_PORT ]; then
3+
if [ ! "$ANONYMOUS_ONLY" -a "$DATABASE_HOST" -a "$DATABASE_PORT" ]; then
44
while ! nc -z "$DATABASE_HOST" "$DATABASE_PORT"; do
55
echo "waiting for $DATABASE_HOST:$DATABASE_PORT"
66
sleep 1

0 commit comments

Comments
 (0)