mirror of
https://github.com/pooneyy/1Panel-Appstore.git
synced 2026-03-26 09:35:00 +08:00
- rename `forgejo-runner-dind` app directory to `forgejo-runner` to consolidate versions - delete old standalone `forgejo-runner-dind` app files (README.md, data.yml, logo.png) - move existing `12.6.2-dind` version files under the new unified `forgejo-runner` app - update configuration for both DooD and DinD deployment modes within the unified app - add new `README_en.md` file with english documentation - update main `README.md` with improved product introduction and clearer version comparison - add `PRIVILEGED` mode configuration option to data.yml - update docker-compose files for both versions with refined environment variable usage and labels - standardize service names and container naming conventions
26 lines
736 B
YAML
26 lines
736 B
YAML
services:
|
|
forgejo-runner:
|
|
image: code.forgejo.org/forgejo/runner:12.6.2
|
|
container_name: ${CONTAINER_NAME}
|
|
privileged: ${PRIVILEGED}
|
|
restart: always
|
|
user: root
|
|
command: /data/scripts/register.sh
|
|
volumes:
|
|
- ./data:/data
|
|
- ./scripts/register.sh:/data/scripts/register.sh:ro
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
environment:
|
|
- DOCKER_HOST=unix:///var/run/docker.sock
|
|
- FORGEJO_INSTANCE_URL=${FORGEJO_INSTANCE_URL}
|
|
- RUNNER_REGISTRATION_TOKEN=${RUNNER_REGISTRATION_TOKEN}
|
|
- RUNNER_NAME=${RUNNER_NAME}
|
|
- RUNNER_LABELS=${RUNNER_LABELS}
|
|
networks:
|
|
- 1panel-network
|
|
labels:
|
|
createdBy: Apps
|
|
networks:
|
|
1panel-network:
|
|
external: true
|