1
0
Fork 0

initial commit

This commit is contained in:
Sergio Talens-Oliag 2025-03-04 12:45:05 +01:00
commit db2cf92b9f
Signed by: sto
GPG key ID: 821AEE0FD167FBDF
4 changed files with 106 additions and 0 deletions

23
docker-compose.yml Normal file
View file

@ -0,0 +1,23 @@
services:
dind:
image: docker:dind
container_name: 'dind'
privileged: 'true'
command: ['dockerd', '-H', 'tcp://0.0.0.0:2375', '--tls=false']
restart: 'unless-stopped'
runner:
image: 'data.forgejo.org/forgejo/runner:6.2.2'
links:
- dind
depends_on:
dind:
condition: service_started
container_name: 'runner'
environment:
DOCKER_HOST: tcp://dind:2375
user: $RUNNER_UID:$RUNNER_GID
volumes:
- ./data:/data
restart: 'unless-stopped'
command: '/bin/sh -c "sleep 5; forgejo-runner daemon"'