最近在尝试玩 gitlab+mattermost 。
是在 ubuntu 上用 docker 配的,使用了 gitlab/gitlab-ce:latest 的 image ,里面自带了 mattermost 。
看安装说明
GitLab Mattermost expects to run on its own virtual host. In your DNS you would then have two entries pointing to the same machine, e.g. gitlab.example.com and mattermost.example.com.
gitlab 和 mattermost 可以装在同一台 server 上,但是需要在 dns 里面配置不同的域名。
但是目前在局域网里面,这个应该怎么配置呢?
猜想修改宿主机 ubuntu 的 host 是不是可以?不过其他的机器访问就不行了吧。
现状,我是改了不同的端口
gitlab: http://server:80
mattermost: http://server:8065
但是感觉各种不爽快。
请教下各位什么才是正确的姿势
