This commit is contained in:
@@ -10,7 +10,7 @@ echo "[entrypoint] Waiting for database to be ready..."
|
||||
# Wait for PostgreSQL to accept connections (max 30s retries)
|
||||
for i in $(seq 1 30); do
|
||||
if python -c "import asyncpg,os,asyncio; asyncio.run(asyncpg.connect(
|
||||
host=os.getenv('POSTGRES_HOST','db'),
|
||||
host=os.getenv('POSTGRES_HOST','192.168.178.3'),
|
||||
port=int(os.getenv('POSTGRES_PORT','5432')),
|
||||
user=os.getenv('POSTGRES_USER','postgres'),
|
||||
password=os.getenv('POSTGRES_PASSWORD'),
|
||||
|
||||
Reference in New Issue
Block a user