請問如何配置docker 中的gitlab,使之能發(fā)送郵件?
謝謝!
擁有18年軟件開發(fā)和IT教學(xué)經(jīng)驗(yàn)。曾任多家上市公司技術(shù)總監(jiān)、架構(gòu)師、項(xiàng)目經(jīng)理、高級軟件工程師等職務(wù)。 網(wǎng)絡(luò)人氣名人講師,...
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