From 74a0462b105947349658636bfe7d69fc51791234 Mon Sep 17 00:00:00 2001 From: Codex Date: Mon, 10 Aug 2026 13:13:47 +0000 Subject: [PATCH] ci: fix act-runner networking (service names not localhost) + non-conflicting host ports --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index da0774a..a820861 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,7 +36,7 @@ jobs: POSTGRES_USER: mvp POSTGRES_PASSWORD: mvp ports: - - 5432:5432 + - 15432:5432 options: >- --health-cmd "pg_isready -U mvp -d mvpcc" --health-interval 10s @@ -45,14 +45,14 @@ jobs: rabbitmq: image: rabbitmq:3-management ports: - - 5672:5672 - - 15672:15672 + - 15672:5672 + - 15673:15672 env: - DATABASE_URL: postgresql://mvp:mvp@localhost:5432/mvpcc + DATABASE_URL: postgresql://mvp:mvp@postgres:5432/mvpcc SCHEMA_MANAGEMENT_MODE: migrations CC_DATA_DIR: .testdata_pg EVENT_BUS_ENABLED: "0" - EVENT_BUS_URL: amqp://guest:guest@localhost:5672/ + EVENT_BUS_URL: amqp://guest:guest@rabbitmq:5672/ APP_TOKEN_SECRET: ci-secret ALLOW_LEGACY_HEADER_AUTH: "1" TELEGRAM_BOT_ENABLED: "0"