From c58ceb98722c045193f05993a881a1ab77b40438 Mon Sep 17 00:00:00 2001 From: Samir Boulahtit Date: Thu, 12 Feb 2026 23:38:24 +0100 Subject: [PATCH] fix(ci): use port 5433 for test PostgreSQL to avoid conflict Production PostgreSQL already uses port 5432 on the host. The CI test database now maps to port 5433. Co-Authored-By: Claude Opus 4.6 --- .gitea/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 404fd58b..a97f5432 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -49,7 +49,7 @@ jobs: POSTGRES_USER: test_user POSTGRES_PASSWORD: test_password ports: - - 5432:5432 + - 5433:5432 options: >- --health-cmd "pg_isready -U test_user -d wizamart_test" --health-interval 10s @@ -57,8 +57,8 @@ jobs: --health-retries 5 env: - TEST_DATABASE_URL: "postgresql://test_user:test_password@localhost:5432/wizamart_test" - DATABASE_URL: "postgresql://test_user:test_password@localhost:5432/wizamart_test" + TEST_DATABASE_URL: "postgresql://test_user:test_password@localhost:5433/wizamart_test" + DATABASE_URL: "postgresql://test_user:test_password@localhost:5433/wizamart_test" steps: - uses: actions/checkout@v4