mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
README: update quick start guide to have a fully functional gitlab application running.
This commit is contained in:
parent
dc032909c1
commit
3ca8a11794
16
README.md
16
README.md
@ -117,19 +117,15 @@ docker build --tag="$USER/gitlab" .
|
||||
Run the gitlab image
|
||||
|
||||
```
|
||||
docker run --name=gitlab -d sameersbn/gitlab:latest
|
||||
GITLAB_IP=$(docker inspect gitlab | grep IPAddres | awk -F'"' '{print $4}')
|
||||
docker run --name='gitlab' -i -t --rm \
|
||||
-p 127.0.0.1:10022:22 -p 127.0.0.1:10080:80 \
|
||||
-e "GITLAB_PORT=10080" -e "GITLAB_SHELL_SSH_PORT=10022" \
|
||||
sameersbn/gitlab:latest
|
||||
```
|
||||
|
||||
Access the GitLab application
|
||||
__NOTE__: Please allow a couple of minutes for the GitLab application to start.
|
||||
|
||||
```bash
|
||||
xdg-open "http://${GITLAB_IP}"
|
||||
```
|
||||
|
||||
__NOTE__: Please allow a minute or two for the GitLab application to start.
|
||||
|
||||
Login using the default username and password:
|
||||
Point your browser to `http://localhost:10080` and login using the default username and password:
|
||||
|
||||
* username: admin@local.host
|
||||
* password: 5iveL!fe
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user