mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-25 15:58:48 +08:00
23 lines
643 B
YAML
23 lines
643 B
YAML
services:
|
|
act_runner:
|
|
image: gitea/act_runner:0.2.10
|
|
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
|