# Gitea Actions Runner Configuration # https://docs.gitea.io/en-us/actions/act-runner/ log: level: info runner: # File to store runner registration information file: /data/.runner # Maximum number of concurrent jobs capacity: 1 # Timeout for a single job (increased for long-running deployments) timeout: 6h # Whether to enable debug mode (skip SSL verification for setup) insecure: true # Timeout for fetching job from Gitea fetch_timeout: 5s # Interval for fetching jobs fetch_interval: 2s cache: # Enable cache server enabled: true # Cache server directory dir: /data/cache # Host address for cache server host: "" # Port for cache server port: 0 container: # Docker network mode for job containers network: bridge # Privileged mode for job containers privileged: false # Container options options: "" # Working directory in container workdir_parent: /workspace # Force pull images before running jobs force_pull: false # Default image if not specified in workflow default_image: node:16-bullseye # Docker host (use docker-dind without TLS since it's in isolated network) docker_host: tcp://docker-dind:2375 # Valid volume paths that can be mounted valid_volumes: - /workspace - /data # Resources limits resources: memory_limit: 0 memory_swap_limit: 0 cpu_quota: 0 cpu_period: 0 cpu_set: "" host: # Working directory on host workdir_parent: /tmp/gitea-runner