Files
docker-compose-files/gitlab-runner.yaml
2025-05-17 13:21:29 +02:00

16 lines
469 B
YAML

version: "3.9"
services:
gitlab-runner:
image: gitlab/gitlab-runner:latest
container_name: gitlab-runner
restart: unless-stopped
network_mode: host
privileged: true
volumes:
- /docker/gitlab-runner-config:/etc/gitlab-runner
- /var/run/docker.sock:/var/run/docker.sock
- /mnt/stg/gitlabrunner-cache:/cache
labels:
- "com.portainer.accesscontrol.enable=true"
- "com.example.description=GitLab Runner container"