gitlab-ctl can now be followed with docker logs
This commit is contained in:
parent
d7aff11876
commit
58b58fe44b
2 changed files with 2 additions and 2 deletions
|
@ -29,4 +29,4 @@ VOLUME ["/var/opt/gitlab", "/var/log/gitlab", "/etc/gitlab"]
|
|||
ADD gitlab.rb /etc/gitlab/
|
||||
|
||||
# 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:
|
|||
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 login with username `root` and password `5iveL!fe`.
|
||||
|
|
Loading…
Reference in a new issue