fix forgejo-runner: use local URL instead of public FQDN
Runner on the same host cannot reach Forgejo via the public HTTPS URL during boot (ACME certs not ready, nginx not fully up). Use the local HTTP endpoint instead.
This commit is contained in:
parent
82f3be3b9d
commit
da219a52ec
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
services.forgejo-runner = {
|
services.forgejo-runner = {
|
||||||
enable = true;
|
enable = true;
|
||||||
url = "https://${constants.services.forgejo.fqdn}";
|
url = "http://127.0.0.1:${toString constants.services.forgejo.port}";
|
||||||
tokenFile = config.sops.templates."forgejo-runner-token".path;
|
tokenFile = config.sops.templates."forgejo-runner-token".path;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue