https://github.com/drsnowbird/gitlab-docker
Gitlab Docker
https://github.com/drsnowbird/gitlab-docker
gitlab gitlab-docker
Last synced: 9 months ago
JSON representation
Gitlab Docker
- Host: GitHub
- URL: https://github.com/drsnowbird/gitlab-docker
- Owner: DrSnowbird
- License: apache-2.0
- Created: 2018-06-28T20:55:39.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-07-09T22:30:37.000Z (over 4 years ago)
- Last Synced: 2025-01-13T16:49:39.210Z (about 1 year ago)
- Topics: gitlab, gitlab-docker
- Language: Shell
- Size: 17.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 "admin@example.com"
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
```