Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deploy/docker/fs/opt/appsmith/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ create_appsmith_pg_db() {
local max_attempts=100
Comment thread
abhvsn marked this conversation as resolved.
Outdated
local attempt=0

until su postgres -c "env PATH='$PATH' pg_isready -d postgres"; do
until su postgres -c "env PATH='$PATH' pg_isready -h 127.0.0.1"; do
if (( attempt >= max_attempts )); then
echo "Postgres failed to start within 100 seconds."
return 1
Expand Down