compose.yaml.j2 546 B

1234567891011121314151617
  1. {#
  2. GitLab Runner: CI/CD job executor for GitLab
  3. Executes pipeline jobs using Docker executor
  4. #}
  5. services:
  6. gitlab-runner:
  7. image: docker.io/gitlab/gitlab-runner:alpine-v17.9.1
  8. container_name: gitlab-runner-1
  9. {#
  10. Volume configuration:
  11. - config.toml: Runner configuration (read-only)
  12. - Docker socket: Required for Docker executor to spawn job containers
  13. #}
  14. volumes:
  15. - ./config/config.toml:/etc/gitlab-runner/config.toml:ro
  16. - /var/run/docker.sock:/var/run/docker.sock
  17. restart: unless-stopped