mirror of https://code.forgejo.org/forgejo/runner
![]() re-creating the LXC container from scratch is expensive. When rebooting or when multiple units start at the same time, it may cause an execessive load. Use a global lock to guard this operation so they happen in sequence and not in parallel. They typically take around one minute to complete which means that in the event of a reboot, it will take around 1 minutes * the number of runners for the unlucky one to start. During this interval workflows will have to wait. |
||
---|---|---|
.. | ||
docker | ||
docker-compose | ||
kubernetes | ||
lxc-systemd | ||
README.md |
README.md
This directory contains a collection of usage and deployment examples.
Workflow examples can be found in the documentation.
Section | Description |
---|---|
docker |
using the host docker server by mounting the socket |
LXC systemd |
systemd unit managing LXC containers dedicated to a single runner |
docker-compose |
all in one docker-compose with the Forgejo server, the runner and docker in docker |
kubernetes |
a sample deployment for the Forgejo runner |