This commit is contained in:
2025-05-26 17:11:52 +02:00
parent f546430daa
commit 9e0e17a8cd
2 changed files with 9 additions and 4 deletions

View File

@@ -1,5 +1,12 @@
#!/bin/bash
# Print environment variables for debugging
echo "Environment variables:"
echo "POSTGRES_USER: $POSTGRES_USER"
echo "POSTGRES_PASSWORD: $POSTGRES_PASSWORD"
echo "POSTGRES_DB: $POSTGRES_DB"
echo "DATABASE_URL: $DATABASE_URL"
# Wait for the database to be ready
echo "Waiting for database to be ready..."
while ! nc -z db 5432; do