chore(deps): update code.forgejo.org/forgejo/runner docker tag to v12.7.1 (localApps) (#4253)
This commit is contained in:
41
apps/forgejo-runner/12.7.1/docker-compose.yml
Normal file
41
apps/forgejo-runner/12.7.1/docker-compose.yml
Normal file
@@ -0,0 +1,41 @@
|
||||
services:
|
||||
forgejo-runner:
|
||||
image: code.forgejo.org/forgejo/runner:12.7.1
|
||||
container_name: ${CONTAINER_NAME}
|
||||
user: root
|
||||
depends_on:
|
||||
dind:
|
||||
condition: service_started
|
||||
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_MODE=${DOCKER_MODE}
|
||||
- DOCKER_HOST=${DOCKER_HOST}
|
||||
- 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
|
||||
dind:
|
||||
image: docker:29.2.1
|
||||
container_name: ${CONTAINER_NAME}-dind
|
||||
privileged: true
|
||||
restart: unless-stopped
|
||||
command: ['dockerd', '-H', 'tcp://0.0.0.0:2375', '--tls=false']
|
||||
environment:
|
||||
DOCKER_TLS_CERTDIR: ""
|
||||
volumes:
|
||||
- ./dind-data:/var/lib/docker
|
||||
networks:
|
||||
- 1panel-network
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user