Skip to content

This repository teach you how to build your own github-gitlab within container

License

Notifications You must be signed in to change notification settings

jiaxing-liu/gitlab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

gitlab

This repository teach you how to build your own github-gitlab within container

Prerequisite

You have installed docker and docker-compose

Quikely start

  1. Choose your gitlab HOME_DIR and set the environment variable GITLAB_HOME, e.g.
export GITLAB_HOME=$HOME/gitlab
  1. Download the docker-compose.yml file and move it to $GITLAB_HOME directory, Then execute docker-compose up

  2. Do not worry! It need a few minutes for the container to be healthy. You can use docker ps to check the status of the container.

When the container is healthy, step in it and execute gitlab-rails console

docker exec <container's ID> -it /bin/bash
gitlab-rails console
u.password='qweqweqwe'
u.password_confirmation='qweqweqwe'
u.save!

Now, you can log in with root acount via :8939, and the password 'qweqweqwe'

About

This repository teach you how to build your own github-gitlab within container

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published