docs(ops): resolve act_runner template merge notes (network + Postgres)
Some checks failed
Deploy to Phoenix / deploy (push) Has been skipped
Deploy to Phoenix / deploy-atomic-swap-dapp (push) Has been skipped
Deploy to Phoenix / cloudflare (push) Has been skipped
Deploy to Phoenix / validate (push) Failing after 1s

Clarify empty container.network for services DNS and DATABASE_URL hostnames;
merge README / YAML / setup doc wording after stash apply.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
defiQUG
2026-05-11 21:10:58 -07:00
parent 37d82380c1
commit 2138a347ac
2 changed files with 3 additions and 2 deletions

View File

@@ -7,6 +7,6 @@
Deploy with `bash scripts/dev-vm/apply-act-runner-config.sh` from the repo root (LAN). Full procedure: `docs/04-configuration/GITEA_ACT_RUNNER_SETUP.md`.
**Networking:** keep **`container.network` empty** (`""` in YAML). That lets act_runner attach workflow **`services:`** to the same per-job Docker network as the job container. **`network: bridge`** breaks **`postgres`** (and similar) hostnames → Prisma **P1001**.
**Networking:** keep **`container.network` empty** (`""` in YAML). act_runner attaches workflow **`services:`** to the same per-job Docker network as the job container. **`network: bridge`** isolates the job from service containers → Prisma **P1001** even when **`DATABASE_URL`** uses **`postgres`**.
**CI env:** in workflows with **`services: postgres:`**, set **`DATABASE_URL`** to **`...@postgres:5432/...`** (service id as host), not **`localhost`**.

View File

@@ -26,7 +26,8 @@ cache:
external_server: ""
container:
# Same as config-5700-heavy.yaml — keep empty for `services:` support.
# Same as config-5700-heavy.yaml — keep `network` empty so workflow `services:`
# (e.g. postgres) share DNS with the job container (see heavy template comments).
network: ""
privileged: false
options: "--cpus=2 --memory=4g --pids-limit=512"