blumeops/argocd/manifests/forgejo-runner/configmap.yaml
Erich Blume ce10997f79
All checks were successful
Build Container / build (push) Successful in 41s
Fix: Move DOCKER_HOST to runner.envs (not container.env)
The act_runner config uses runner.envs for job environment variables,
not container.env which doesn't exist.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 19:52:30 -08:00

23 lines
552 B
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: forgejo-runner-config
namespace: forgejo-runner
data:
config.yaml: |
log:
level: info
runner:
file: /data/.runner
capacity: 2
timeout: 3h
# Set DOCKER_HOST in job containers so they can run docker commands
envs:
DOCKER_HOST: tcp://127.0.0.1:2375
container:
# Use our custom job execution image with Node.js + Docker CLI
network: "host"
# Connect to DinD sidecar via TCP (not socket)
docker_host: tcp://127.0.0.1:2375