16 lines
469 B
YAML
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" |