Fix act_runner: use public Forgejo URL for job container access
Some checks failed
CI/CD / syntax-check (push) Failing after 48s
CI/CD / deploy (push) Has been skipped

Job containers run on runner-jobs network (internet only), so they
can't reach forgejo:3000 (backend-only). Use public https://git.csrx.ru
so both runner and job containers can reach Forgejo.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
jack 2026-03-21 22:53:25 +07:00
parent 6580e42f53
commit 6a2c38b4bf

View file

@ -346,7 +346,7 @@ services:
depends_on: depends_on:
- forgejo - forgejo
environment: environment:
- GITEA_INSTANCE_URL=http://forgejo:3000 - GITEA_INSTANCE_URL=https://{{ domain_git }}
- GITEA_RUNNER_REGISTRATION_TOKEN=${FORGEJO_RUNNER_TOKEN} - GITEA_RUNNER_REGISTRATION_TOKEN=${FORGEJO_RUNNER_TOKEN}
- GITEA_RUNNER_NAME=vps-runner - GITEA_RUNNER_NAME=vps-runner
- CONFIG_FILE=/data/config.yaml - CONFIG_FILE=/data/config.yaml