I'm trying to get the embedded mattermost instance configured on Gitlab 
Omnibus running in the gitlab-ce docker container.


docker run --detach \
 --hostname code.example.com \
 --publish 9443:443 --publish 9080:80 --publish 9022:22 --publish 8065:8065 
\
 --name gitlab \
 --restart always \
 --volume /var/gitlab/config:/etc/gitlab \
 --volume /var/log/gitlab:/var/log/gitlab \
 --volume /var/gitlab/data:/var/opt/gitlab \
 gitlab/gitlab-ce:latest




gitlab.rb

mattermost_external_url 'http://mattermost.example.com'

mattermost['enable'] = true
mattermost['username'] = 'mattermost'
mattermost['group'] = 'mattermost'
mattermost['service_address'] = "127.0.0.1"
mattermost['service_port'] = 8065


==> /var/log/gitlab/mattermost/current <==

2016-09-15_13:15:48.03046 [2016/09/15 13:15:48 UTC] [INFO] Current version 
is 3.3.0 (3.3.0/Fri Aug 12 20:27:37 UTC 2016/
20735470185e0b0ac1d15b975041ed9a2e0e43bc/none)
2016-09-15_13:15:48.03047 [2016/09/15 13:15:48 UTC] [INFO] Enterprise 
Enabled: false
2016-09-15_13:15:48.03048 [2016/09/15 13:15:48 UTC] [INFO] Current working 
directory is /opt/gitlab/embedded/service/mattermost
2016-09-15_13:15:48.03049 [2016/09/15 13:15:48 UTC] [INFO] Loaded config 
file from /var/opt/gitlab/mattermost/config.json
2016-09-15_13:15:48.03049 [2016/09/15 13:15:48 UTC] [INFO] Server is 
initializing...
2016-09-15_13:15:48.03050 [2016/09/15 13:15:48 UTC] [INFO] Pinging sql 
master database
2016-09-15_13:15:48.03436 [2016/09/15 13:15:48 UTC] [INFO] Pinging sql 
replica-0 database
2016-09-15_13:15:48.08404 [2016/09/15 13:15:48 UTC] [INFO] Starting Server
...
2016-09-15_13:15:48.08408 [2016/09/15 13:15:48 UTC] [INFO] Server is 
listening on 127.0.0.1:8065
2016-09-15_13:15:48.08409 [2016/09/15 13:15:48 UTC] [INFO] RateLimiter is 
enabled

mattermost restarts just fine

root@code:/# gitlab-ctl restart mattermost
ok: run: mattermost: (pid 4872) 0s



But then on the host machine I can't connect to port 8065.

root@mail:~# telnet localhost 8065
Trying ::1...
Connected to code.example.com.
Escape character is '^]'.
Connection closed by foreign host.

I'm completely at a loss to know what I'm doing wrong. 

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/2f006c61-a583-4524-85bf-91256344e1dc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to