请问如何配置docker 中的gitlab,使之能发送邮件?
谢谢!
拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...
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
What’s going on when the file or folder gitlab does not exist under /etc/ in the container
Enter the container of gitlab docker
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
What’s going on when the file or folder gitlab does not exist under /etc/ in the container