appstore-1panel/apps/act_runner/0.2.10/docker-compose.yml

23 lines
643 B
YAML
Raw Normal View History

2024-05-20 11:35:15 +08:00
services:
act_runner:
2024-05-20 12:07:01 +08:00
image: gitea/act_runner:0.2.10
2024-05-20 11:35:15 +08:00
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
volumes:
#- ./data/config.yaml:/config.yaml # 可选配置
- ./data/data:/data
- /var/run/docker.sock:/var/run/docker.sock
environment:
#- CONFIG_FILE=/config.yaml
- GITEA_INSTANCE_URL=${GITEA_INSTANCE_URL}
- GITEA_RUNNER_REGISTRATION_TOKEN=${RUNNER_REGISTRATION_TOKEN}
- GITEA_RUNNER_NAME=${RUNNER_NAME}
- GITEA_RUNNER_LABELS=${RUNNER_LABELS}
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true