log: level: {{ gitea_runner_log_level | default('info') }} runner: # Number of jobs run concurrently capacity: {{ gitea_runner_capacity }} # Runner labels exposed to workflows labels: {% for label in gitea_runner_labels | default(['docker', 'ubuntu-lxc']) %} - {{ label }} {% endfor %} {% if gitea_runner_molecule_enabled | default(false) | bool %} - {{ gitea_runner_molecule_label }}:host {% endif %} container: # Run job containers privileged privileged: {{ gitea_runner_container_privileged | default(false) | lower }} # Docker daemon the runner uses. "-" still finds the daemon but does not mount # the socket into job containers. to_json keeps the value a quoted YAML string. docker_host: {{ gitea_runner_container_docker_host | default('unix:///var/run/docker.sock') | to_json }} {% if gitea_runner_container_volumes is defined %} volumes: {% for volume in gitea_runner_container_volumes %} - "{{ volume }}" {% endfor %} {% endif %}