Commit 58b58fe4 authored by Vincent Robert's avatar Vincent Robert

gitlab-ctl can now be followed with docker logs

parent d7aff118
...@@ -29,4 +29,4 @@ VOLUME ["/var/opt/gitlab", "/var/log/gitlab", "/etc/gitlab"] ...@@ -29,4 +29,4 @@ VOLUME ["/var/opt/gitlab", "/var/log/gitlab", "/etc/gitlab"]
ADD gitlab.rb /etc/gitlab/ ADD gitlab.rb /etc/gitlab/
# Default is to run runit & reconfigure # Default is to run runit & reconfigure
CMD gitlab-ctl reconfigure > /var/log/gitlab/reconfigure.log & /opt/gitlab/embedded/bin/runsvdir-start CMD gitlab-ctl reconfigure & /opt/gitlab/embedded/bin/runsvdir-start
...@@ -39,7 +39,7 @@ After creating this run GitLab: ...@@ -39,7 +39,7 @@ After creating this run GitLab:
sudo docker run --detach --name gitlab_app --publish 8080:80 --publish 2222:22 --volumes-from gitlab_data gitlab_image sudo docker run --detach --name gitlab_app --publish 8080:80 --publish 2222:22 --volumes-from gitlab_data gitlab_image
``` ```
It might take a while before the docker container is responding to queries. It might take a while before the docker container is responding to queries. You can follow the configuration process with `docker logs -f gitlab`.
You can then go to `http://localhost:8080/` (or `http://192.168.59.103:8080/` if you use boot2docker). You can then go to `http://localhost:8080/` (or `http://192.168.59.103:8080/` if you use boot2docker).
You can login with username `root` and password `5iveL!fe`. You can login with username `root` and password `5iveL!fe`.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment