21 lines
374 B
Markdown
21 lines
374 B
Markdown
## How to setup the runner
|
|
|
|
Place a `.env` file with the following contents in the root dir:
|
|
|
|
```env
|
|
GITEA_INSTANCE_LEVEL_TOKEN=PLACE_YOUR_GITEA_RUNNER_REGISTRATION_TOKEN_HERE
|
|
```
|
|
|
|
## How to start the runner
|
|
|
|
Start with:
|
|
|
|
```sh
|
|
sudo docker compose up -d
|
|
```
|
|
|
|
When you want to rebuild the runner (this creates a new runner) run:
|
|
|
|
```sh
|
|
sudo docker compose up --build -d
|
|
``` |