Open yboujraf opened 1 year ago
Hello, I try run another docker compose with this example: https://forum.gitlab.com/t/example-gitlab-runner-docker-compose-configuration/67344 but unsuccesful, so will wait example too. This project is real good, but strange that it don't have runner from box.
Hi,
sorry for the late reply. I'm not sure if I understand you correctly, but this image is just the server image of GitLab, that allows to register gitlab-runners. The gitlab-runners itself should run on a separate machine or vm different from the server since some runners could use an enormous ammount of ressources by running task in their pipline.
However, the decision on where and how you deploy your gitlab-runners is up to you. Consquently, registering runners using our image is possible and depending on the used plattform or os distribution the installation of runners differs. Thus, gitlab-runners are not included in this image.
If you follow the docs (see https://docs.gitlab.com/runner/) you'll find informations on how to register gitlab-runners as well (see https://docs.gitlab.com/runner/register/ and https://docs.gitlab.com/runner/executors/ for their "flavour").
The configuration of the individual gitlab-runners (config.toml) is just a kind of byproduct during the registration process itself. Usually you don't need the update the config file manually.
Does this answer helps?
Does anyone have a complete Docker Compose of GitLab with gitlab-runner with config.toml (docker) to provide?
Best Regards,