kaiju.platform/docker-compose.yaml
Nikita Romanov 4b1e94a7fa gitignore
2025-06-14 23:10:48 +03:00

27 lines
679 B
YAML

services:
dind:
image: "docker:dind"
container_name: "dind"
hostname: "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.3.1"
container_name: "runner"
hostname: "runner"
links:
- dind
depends_on:
dind:
condition: service_started
environment:
DOCKER_HOST: tcp://dind:2375
# User without root privileges, but with access to `./data`.
user: 1001:1001
volumes:
- ./runner/data:/data
restart: unless-stopped
command: '/bin/sh -c "sleep 5; forgejo-runner daemon"'