fix: use internal Forgejo URL for act_runner — avoids routing through public IP

The runner is on hiy-net and can reach Forgejo directly at http://forgejo:3000
rather than going out through the public IP and Caddy.

https://claude.ai/code/session_01FKCW3FDjNFj6jve4niMFXH
This commit is contained in:
Claude 2026-03-27 15:35:13 +00:00
parent 84c36c464d
commit 7b37f88fb5
No known key found for this signature in database

View file

@ -110,7 +110,7 @@ services:
restart: unless-stopped restart: unless-stopped
command: ["/entrypoint.sh"] command: ["/entrypoint.sh"]
environment: environment:
FORGEJO_INSTANCE_URL: https://${FORGEJO_DOMAIN} FORGEJO_INSTANCE_URL: http://forgejo:3000
FORGEJO_RUNNER_TOKEN: ${FORGEJO_RUNNER_TOKEN} FORGEJO_RUNNER_TOKEN: ${FORGEJO_RUNNER_TOKEN}
FORGEJO_RUNNER_NAME: hiy-runner FORGEJO_RUNNER_NAME: hiy-runner
# Give the runner access to Podman so CI jobs can build/run containers. # Give the runner access to Podman so CI jobs can build/run containers.