0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2024-11-21 17:36:59 -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:
teutat3s 2023-12-12 20:46:55 +01:00 committed by Earl Warren
parent 42470f7ab3
commit 1886c54138

View file

@ -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.