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"