mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-18 20:39:36 +02:00
Enhance entrypoint script with a helper function for environment variable retrieval; improve PostgreSQL connection logic. Update installer script to add spacing for readability in service wait function.
This commit is contained in:
parent
3f6aa67b3f
commit
9eaaadc0f2
2 changed files with 25 additions and 2 deletions
|
@ -484,6 +484,7 @@ wait_for_services() {
|
|||
|
||||
local max_attempts=30
|
||||
local attempt=1
|
||||
|
||||
while [ $attempt -le $max_attempts ]; do
|
||||
if curl -s -o /dev/null -w "%{http_code}" "$FRONTEND_ORIGIN" | grep -q "200\|404\|302"; then
|
||||
log_success "Frontend is responding"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue