1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-03-24 20:29:40 +08:00
pooneyy 5b48c22ed5
feat(action-runner): add logs volume mount
- mount logs directory to persist runner logs
- enable log persistence for debugging and monitoring
2025-10-21 11:36:13 +08:00

29 lines
754 B
YAML

services:
actions-runner:
image: ghcr.io/pooneyy/actions-runner:2.329.0
container_name: ${CONTAINER_NAME}
restart: always
privileged: true
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