1
0
Fork 0
1Panel-Appstore/apps/forgejo-runner/12.6.2/docker-compose.yml

26 lines
736 B
YAML
Raw Normal View History

2025-07-12 10:11:08 +08:00
services:
forgejo-runner:
image: code.forgejo.org/forgejo/runner:12.6.2
container_name: ${CONTAINER_NAME}
privileged: ${PRIVILEGED}
2025-07-12 10:11:08 +08:00
restart: always
2025-07-13 11:43:53 +08:00
user: root
command: /data/scripts/register.sh
2025-07-12 10:11:08 +08:00
volumes:
- ./data:/data
2025-07-12 17:15:03 +08:00
- ./scripts/register.sh:/data/scripts/register.sh:ro
- /var/run/docker.sock:/var/run/docker.sock
2025-07-12 10:11:08 +08:00
environment:
- DOCKER_HOST=unix:///var/run/docker.sock
2025-07-12 10:11:08 +08:00
- FORGEJO_INSTANCE_URL=${FORGEJO_INSTANCE_URL}
2025-07-12 15:38:47 +08:00
- RUNNER_REGISTRATION_TOKEN=${RUNNER_REGISTRATION_TOKEN}
- RUNNER_NAME=${RUNNER_NAME}
- RUNNER_LABELS=${RUNNER_LABELS}
2025-07-12 15:38:47 +08:00
networks:
- 1panel-network
labels:
createdBy: Apps
networks:
2025-07-12 10:11:08 +08:00
1panel-network:
external: true