You can then go to [http://localhost:8080/](http://localhost:8080/) or [http://192.168.59.103:8080/](http://192.168.59.103:8080/) if you use boot2docker.
You can login with username `root` and password `5iveL!fe`.
Next time, you can just use `sudo docker start gitlab-ce` and `sudo docker stop gitlab-ce`.
It might take a while before the docker container is responding to queries. You can follow the configuration process with `sudo docker logs -f gitlab_app_xy`.
...
...
@@ -50,7 +103,7 @@ You can then go to [http://localhost:8080/](http://localhost:8080/) or [http://1
You can login with username `root` and password `5iveL!fe`.
Next time, you can just use `sudo docker start gitlab_app` and `sudo docker stop gitlab_app`.
How to configure GitLab
Configure GitLab
========================
This container uses the official Omnibus GitLab distribution, so all configuration is done in the unique configuration file `/etc/gitlab/gitlab.rb`.
...
...
@@ -58,7 +111,7 @@ This container uses the official Omnibus GitLab distribution, so all configurati
To access GitLab configuration, you can start an interactive command line in a new container using the shared data volume container, you will be able to browse the 3 directories and use your favorite text editor:
```bash
sudo docker run -ti-eTERM=linux --rm--volumes-from gitlab_data ubuntu
sudo docker run -ti-eTERM=linux --rm--volumes-from gitlab-data ubuntu
vi /etc/gitlab/gitlab.rb
```
...
...
@@ -66,7 +119,7 @@ vi /etc/gitlab/gitlab.rb
You can find all available options in [Omnibus GitLab documentation](https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md#configuration).
How to upgrade GitLab
Upgrade GitLab with app and data images
========================
To updgrade GitLab to new versions, stop running container, create new docker image and container from that image.
...
...
@@ -74,41 +127,40 @@ To updgrade GitLab to new versions, stop running container, create new docker im
It Assumes that you're upgrading from 7.8 to 7.9 and you're in the updated GitLab repo root directory:
On the first run GitLab will reconfigure and update itself. If everything runs OK don't forget to cleanup old container and image:
On the first run GitLab will reconfigure and update itself. If everything runs OK don't forget to cleanup image:
```bash
sudo docker rm gitlab_app_78
sudo docker rmi gitlab_app_image_78
sudo docker rmi gitlab-app:7.8.1
```
Troubleshooting
=========================
Please see the [troubleshooting](troubleshooting.md) file in this directory.
Publish the images to Dockerhub
Publish app and data images to Dockerhub
=========================
Login to Dockerhub with `sudo docker login` and run the following (replace '7.9.2' with the version you're using and 'Sytse Sijbrandij' with your name):