Run Gitlab Runner in a container
Run Gitlab Runner in a container
Prerequisites
Usages
Clone Repository
git clone https://gitlab.com/euikook/gitlab-runner-compose.git
Configuration
- Replace CI_SERVER_URL value with your Gitlab server e.g. https://gitlab.com
- Obtain a token for a shared or specific Runner via GitLab’s interface and replace REGISTRATION_TOKEN value
tee .env << END
CI_SERVER_URL=https://gitlab.com/
REGISTRATION_TOKEN=zDsz34JuZf95NoBaQPX
END
Registration and run gitlab-runner
docker-compose up -d