From 8db078a0c21a5a41212ffcfc5f43bbb90d1617b8 Mon Sep 17 00:00:00 2001 From: Dennis Thiessen Date: Tue, 3 Mar 2026 19:30:26 +0100 Subject: [PATCH] updated port #3 --- .gitea/workflows/deploy.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index c934fbc..31433ae 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -40,6 +40,11 @@ jobs: POSTGRES_DB: test_db POSTGRES_USER: test_user POSTGRES_PASSWORD: test_pass + options: >- + --health-cmd pg_isready + --health-interval 10s + --health-timeout 5s + --health-retries 5 ports: - 5433:5432 steps: @@ -53,10 +58,10 @@ jobs: - run: pip install -e ".[dev]" - run: alembic upgrade head env: - DATABASE_URL: postgresql+asyncpg://test_user:test_pass@localhost:5433/test_db + DATABASE_URL: postgresql+asyncpg://test_user:test_pass@127.0.0.1:5433/test_db - run: pytest --tb=short env: - DATABASE_URL: postgresql+asyncpg://test_user:test_pass@localhost:5433/test_db + DATABASE_URL: postgresql+asyncpg://test_user:test_pass@127.0.0.1:5433/test_db - run: | cd frontend npm ci