paivett / gitlab-server

Small docker-compose to setup a local gitlab server and runner, for testing.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Local GitLab server

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.

Configuration

Copy the provided .env.example to .env and configure the variables.

Running

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.

About

Small docker-compose to setup a local gitlab server and runner, for testing.


Languages

Language:Shell 100.0%