补充文件

This commit is contained in:
Ben
2025-04-21 18:34:55 +08:00
parent 14a7079957
commit 74ee86959e
3 changed files with 182 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
services:
runner:
image: gitea/act_runner
restart: always
privileged: true
environment:
CONFIG_FILE: /config.yaml
GITEA_INSTANCE_URL: "https://code.congshangyun.com/"
GITEA_RUNNER_REGISTRATION_TOKEN: "你的gitea账号的registration token"
GITEA_RUNNER_NAME: "runner名称"
# GITEA_RUNNER_LABELS: "暂时不建议修改"
DOCKER_HOST: unix:///var/run/docker.sock # 这是docker的套接字用于Docker in Docker
ports:
- 9010:9010 # 这里是映射缓存端口
volumes:
- ./config.yaml:/config.yaml
- ./data:/data
- /var/run/docker.sock:/var/run/docker.sock