This repo just puts together a gitlab server with a runner into a single docker compose. This is just for quickly setup a local server for testing.
Copy the provided .env.example
to .env
and configure the variables.
To start both server and runner, just run
docker-compose up -d
Once the server is ready, you can login. For example, if using the example values, then go to http://localhost:8929/
and login with the root
user using the initial password.
Finally, execute the script register-runner.sh
./register-runner.sh <registertoken>
Replace <registertoken>
with the registration token provided by gitlab.