Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/drsnowbird/gitlab-docker

Gitlab Docker
https://github.com/drsnowbird/gitlab-docker

gitlab gitlab-docker

Last synced: 11 days ago
JSON representation

Gitlab Docker

Awesome Lists containing this project

README

        

# Gitlab Docker

# Run
```
run-gitlab.sh
```
## Web Admin
For the very first time you connect to http://0.0.0.0:28080/, the web GUI will prompt for "root" password - default is 'gitlab_root_password'.

# Reference
[GitLab Docker User Guide (complete)](https://docs.gitlab.com/ee/install/docker.html)

# Commandd for GIT
Note that we change the port from 22 to 28022. Hence the following commands need to use "28022" instead.

```
Command line instructions

Git global setup
git config --global user.name "Administrator"
git config --global user.email "[email protected]"

Create a new repository
git clone http://127.0.0.1:28022/root/my-awesome.git
cd my-awesome
touch README.md
git add README.md
git commit -m "add README"
git push -u origin master

Existing folder
cd existing_folder
git init
git remote add origin http://127.0.0.1:28022/root/my-awesome.git
git add .
git commit -m "Initial commit"
git push -u origin master

Existing Git repository
cd existing_repo
git remote rename origin old-origin
git remote add origin http://127.0.0.1:28022/root/my-awesome.git
git push -u origin --all
git push -u origin --tags
```