서버에서 바로 올리는 gitlab 에는 발생 안하는 문제로 보인다..
- docker 에서 실행하면서
- external_url 에 포트 번호가 들어간 경우
에만 발생하고 있다...
external_url 에 http://xxxx:NNNN/ 처럼 포트 번호를 기록하면, gitlab 의 웹 서버가 url 에 있는 포트 번호에 bind 하게 되면서 발생하고 있다. 즉 docker 설정에 있는 컨테이너 포트와 다른 포트에 실행되기 때문에 컨테이너 외부에서 보면 실행이 안되는것처럼 보이게 된다.
그래서 포트를 사용하는 경우 docker 설정에 있는 컨테이너 설정을 같이 바꿔줘야 한다.
https://forum.gitlab.com/t/gitlab-docker-not-working-if-external-url-is-set/4110
Gitlab docker not working if external_url is set
Hello community, I’ve been struggling for a while with a problem that I’m still unable to solve. Help would be much appreciated! What I did: Install Gitlab-CE using the docker image (8.9.6-ce.0) on an Ubuntu 16.04.1 LTS virtual machine in my server followi
forum.gitlab.com
2016년 게시물인데도 동일한 문제가 생기다니....