mirror of
https://codeberg.org/forgejo/docs.git
synced 2024-12-22 22:17:10 -05:00
admin: actions: br-+ should be a trusted interfaces
in the NixOS firewall for actions cache to work with docker runners
This commit is contained in:
parent
42470f7ab3
commit
1886c54138
1 changed files with 6 additions and 0 deletions
|
@ -563,6 +563,12 @@ virtualisation.docker = {
|
|||
};
|
||||
```
|
||||
|
||||
If you would like to use docker runners in combination with [cache actions](#cache-configuration), be sure to add docker bridge interfaces "br-\*" to the firewalls' trusted interfaces:
|
||||
|
||||
```nix
|
||||
networking.firewall.trustedInterfaces = [ "br-+" ];
|
||||
```
|
||||
|
||||
## Other runners
|
||||
|
||||
It is possible to use [other runners](https://codeberg.org/forgejo-contrib/delightful-forgejo#user-content-forgejo-actions-runners) instead of `Forgejo runner`. As long as they can connect to a `Forgejo` instance using the [same protocol](https://codeberg.org/forgejo/forgejo/src/branch/forgejo/routers/api/actions), they will be given tasks to run.
|
||||
|
|
Loading…
Reference in a new issue