search

Home  >  Q&A  >  body text

docker gitlab 如何配置发送邮件

  1. ubuntu 14.04 server 安装 docker
  2. docker 安装gitlab
  3. 全部安装成功后,可以通过ip正常访问gitlab
  4. 现在的问题是在gitlab中无法发送邮件
  5. 请问如何配置docker 中的gitlab,使之能发送邮件?

                                    谢谢!
    
高洛峰高洛峰2777 days ago1003

reply all(2)I'll reply

  • 高洛峰

    高洛峰2017-04-22 08:57:43

    Enter the container of gitlab docker

    docker exec -it $container_id /bin/bash 
    

    Edit the gitlab configuration file. It should be the same as the rpm version and is located in the /etc/gitlab/ directory
    Configure relevant information of your smtp server
    Exit

    Restart gitlab docker

    docker stop $container_id
    docker start $container_id
    

    reply
    0
  • 巴扎黑

    巴扎黑2017-04-22 08:57:43

    What’s going on when the file or folder gitlab does not exist under /etc/ in the container

    reply
    0
  • Cancelreply