Files
ROLAC/deploy/vm/runner/docker-compose.yml
Chris Chen bcd6b39356
ci-cd-vm / ci-cd (push) Failing after 40s
update docker
2026-06-22 16:37:53 -07:00

18 lines
706 B
YAML

services:
runner:
build: .
image: rolac-act-runner:latest
restart: unless-stopped
# host networking so the deploy step's `curl http://localhost:8080/api/health`
# reaches the published edge port on the host.
network_mode: host
env_file: .env
volumes:
# talk to the host Docker daemon (build/push/compose all run on the host)
- /var/run/docker.sock:/var/run/docker.sock
# deploy target — must be the SAME path so compose's relative ./data and
# ./nginx volumes resolve to real host paths
- /home/chris/docker/rolac:/home/chris/docker/rolac
# persist runner registration so it doesn't re-register on restart
- ./runner-data:/data