2020-11-04 docker运行gitlab访问不了

docker run     --detach     --publish 8443:443     --publish 8090:8090     --name gitlab     --restart unless-stopped     -v /mnt/gitlab/etc:/etc/gitlab     -v /mnt/gitlab/log:/var/log/gitlab     -v /mnt/gitlab/data:/var/opt/gitlab     gitlab/gitlab-ce:latest

映射docker 8090端口这里需要和配置文件对应gitlab.yml
我挂载的配置文件目录:/mnt/gitlab/data/gitlab-rails/etc/gitlab.yml

在这里卡了半天,记录一下

  gitlab:
    ## Web server settings (note: host is the FQDN, do not include http://)
    host: 192.168.1.137
    port: 8090
    https: false

你可能感兴趣的:(容器化,docker)