Skip to content

quicky setup a GitLab Self-hosted service on your local machine

Notifications You must be signed in to change notification settings

barlesh/gitlab-self-hosted-runner

Repository files navigation

gitlab-self-hosted-runner

quickly setup a GitLab Self-hosted service on your local machine

Instructions

  1. Set the GITLAB_HOME variable in the .env file & load the .env variables into your session, or use any other method so this variable will be available for the init-env.sh script. I'm using teller for these kind of actions
eval "$(teller sh)"
  1. Run the init-env.sh script in order to create the necessary folders structure and give permissions. make sure GITLAB_HOME is set
./init-env.sh
  1. Edit the .env file with your prefferd configurations.
  2. Run init-gitlab-sh.sh in order to run the service.
./init-gitlab-sh.sh
  1. After the service is up, make sure that the UI is available by routing to http://localhost:{SERVER_PORT} in your browser.
  2. A root user is created automatically - root
  3. The generated password for this user can be retrive with the get-root-password.sh script (make sure that GITLAB_HOME is set in the session, like in step 1)
./get-root-password.sh
  1. Start using the service.

Enjoy!

About

quicky setup a GitLab Self-hosted service on your local machine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages