From 72740654da7e36b2789575c82654435b8b453659 Mon Sep 17 00:00:00 2001 From: defiQUG Date: Mon, 11 May 2026 21:10:14 -0700 Subject: [PATCH] ci: clarify Postgres service hostname for Gitea act_runner vs VM runners Merge duplicate comments from CI workflow conflict resolution. Co-authored-by: Cursor --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2fcc219..32cb2db 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,7 +60,8 @@ jobs: --health-retries 5 ports: - 5432:5432 - # Hostname must match `services:` id. `localhost` breaks Gitea act_runner (Docker job). + # Hostname must match `services:` id. `localhost` breaks Gitea act_runner (Docker job); + # use the service name for Dockerized runners; VM runners may map host ports differently. env: DATABASE_URL: postgresql://postgres:postgres@postgres:5432/test TEST_DATABASE_URL: postgresql://postgres:postgres@postgres:5432/test