29 lines
763 B
YAML
29 lines
763 B
YAML
services:
|
|
actions-runner:
|
|
image: ghcr.io/pooneyy/actions-runner:2.332.0
|
|
container_name: ${CONTAINER_NAME}
|
|
restart: always
|
|
privileged: ${PRIVILEGED}
|
|
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:
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- ./config:/home/runner/.runner_config
|
|
- ./logs:/home/runner/.runner_logs
|
|
|
|
networks:
|
|
1panel-network:
|
|
external: true
|