Базовая настройка раннера
This commit is contained in:
15
compose.yml
15
compose.yml
@@ -36,6 +36,21 @@ services:
|
||||
depends_on:
|
||||
- gitea-db
|
||||
|
||||
gitea-runner:
|
||||
<<: *common-attributes
|
||||
container_name: gitea-runner
|
||||
image: docker.io/gitea/act_runner:latest
|
||||
environment:
|
||||
CONFIG_FILE: /config.yaml
|
||||
GITEA_INSTANCE_URL: http://gitea:3000
|
||||
GITEA_RUNNER_REGISTRATION_TOKEN: ${RUNNER_REG_TOKEN}
|
||||
GITEA_RUNNER_NAME: gitea-runner
|
||||
# GITEA_RUNNER_LABELS: ${RUNNER_LABELS}
|
||||
volumes:
|
||||
- ./runner/config.yaml:/config.yaml
|
||||
- ./runner/data:/data
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
||||
gitea-db:
|
||||
<<: *common-attributes
|
||||
container_name: gitea-db
|
||||
|
||||
Reference in New Issue
Block a user