24 lines
713 B
YAML
24 lines
713 B
YAML
# Install on the dedicated CI/build VM, not the application/database VM.
|
|
name: gitea-runner
|
|
|
|
services:
|
|
runner:
|
|
image: gitea/act_runner:0.2.13
|
|
restart: unless-stopped
|
|
entrypoint: ["act_runner"]
|
|
command: ["--config", "/config.yaml", "daemon"]
|
|
working_dir: /data
|
|
# Preserve HTTPS/SNI while reaching Gitea via its existing LAN listener.
|
|
# Keep this mapping in sync with container.options in config.yaml.
|
|
extra_hosts:
|
|
- "gitea.vandeplanque.com:192.168.1.56"
|
|
volumes:
|
|
- ./data:/data
|
|
- ./config.yaml:/config.yaml:ro
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
logging:
|
|
driver: json-file
|
|
options:
|
|
max-size: "10m"
|
|
max-file: "3"
|