- Move secrets.env to registration.token. - Rotate key for registration token.
13 lines
394 B
YAML
13 lines
394 B
YAML
name: "gitea-runner"
|
|
services:
|
|
runner:
|
|
image: gitea/act_runner:latest
|
|
volumes:
|
|
- ./config.yaml:/config.yaml
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
environment:
|
|
CONFIG_FILE: /config.yaml
|
|
GITEA_INSTANCE_URL: https://gitea.jafner.tools
|
|
env_file:
|
|
- path: /run/secrets/gitea-runner # Defines GITEA_RUNNER_REGISTRATION_TOKEN
|
|
required: true |