2025-10-01 16:33:31 +08:00
|
|
|
services:
|
|
|
|
|
actions-runner:
|
2026-02-26 03:12:30 +08:00
|
|
|
image: ghcr.io/pooneyy/actions-runner:2.332.0
|
2025-10-01 16:33:31 +08:00
|
|
|
container_name: ${CONTAINER_NAME}
|
|
|
|
|
restart: always
|
2025-10-30 21:48:44 +08:00
|
|
|
privileged: ${PRIVILEGED}
|
2025-10-01 16:33:31 +08:00
|
|
|
networks:
|
|
|
|
|
- 1panel-network
|
|
|
|
|
labels:
|
|
|
|
|
createdBy: "Apps"
|
|
|
|
|
environment:
|
|
|
|
|
ROLE: ${ROLE}
|
|
|
|
|
REPO: ${REPO}
|
|
|
|
|
RUNNER_GITHUB_TOKEN: ${GITHUB_TOKEN}
|
|
|
|
|
RUNNER_NAME: ${RUNNER_NAME}
|
|
|
|
|
RUNNER_LABELS: ${RUNNER_LABELS}
|
|
|
|
|
WORK_FOLDER: ${WORK_FOLDER}
|
|
|
|
|
RUNNER_GROUP: ${RUNNER_GROUP}
|
|
|
|
|
AUTO_UNREGISTER: ${AUTO_UNREGISTER}
|
|
|
|
|
volumes:
|
2025-10-20 10:41:35 +08:00
|
|
|
- /etc/localtime:/etc/localtime:ro
|
2025-10-01 16:33:31 +08:00
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
|
- ./config:/home/runner/.runner_config
|
2025-10-21 11:36:13 +08:00
|
|
|
- ./logs:/home/runner/.runner_logs
|
2025-10-01 16:33:31 +08:00
|
|
|
|
|
|
|
|
networks:
|
|
|
|
|
1panel-network:
|
|
|
|
|
external: true
|