Added gitlab runner process

This commit is contained in:
Viswamedha Nalabotu 2025-12-17 16:27:19 +00:00
parent 4448d5b006
commit 1a120274e9

View file

@ -38,6 +38,30 @@ services:
volumes: volumes:
- "/var/run/docker.sock:/var/run/docker.sock" - "/var/run/docker.sock:/var/run/docker.sock"
fyp-runner:
image: gitlab/gitlab-runner:${GITLAB_RUNNER_IMAGE_TAG}
restart: unless-stopped
environment:
- CI_SERVER_URL=${GITLAB_SERVER_URL}
- REGISTRATION_TOKEN=${GITLAB_RUNNER_REGISTRATION_TOKEN}
- RUNNER_NAME=${GITLAB_RUNNER_NAME}
- RUNNER_TAG_LIST=${GITLAB_RUNNER_TAGS}
- RUNNER_EXECUTOR=docker
- DOCKER_TLS_CERTDIR=
- DOCKER_IMAGE=${GITLAB_RUNNER_DOCKER_IMAGE}
volumes:
- gitlab-runner-config:/etc/gitlab-runner
- gitlab-machine-config:/root/.docker/machine
- /var/run/docker.sock:/var/run/docker.sock
command:
- run
- "--working-directory=/home/gitlab-runner"
- "--user=gitlab-runner"
networks: networks:
proxy: proxy:
external: true external: true
volumes:
gitlab-runner-config:
gitlab-machine-config: