Open statby opened 8 years ago
Same here, on 0.9.5 - as a consequence oauth is broken (presumably unless I run gitlab on port 80).
I'm trying to test gitlab with drone, running gitlab on port 10080.
drone-server_1 | time="2017-04-19T09:40:16Z" level=error msg="cannot authenticate user. Error exchanging token. Post http://dgitlab:10080/oauth/token: dial tcp 172.19.0.5:10080: getsockopt: connection refused"
This is because drone makes a http request to the oauth endpoint of the gitlab server (inside the docker-compose network), but within the network gitlab is listening on port 80.
Would be easier if changing GITLAB_PORT=10080 also made nginx listen on port 10080, currently it's running on 80.
@binarytemple-bet365 Feel free to create an PR for that ;) .
This issue has been automatically marked as stale because it has not had any activity for the last 60 days. It will be closed if no further activity occurs during the next 7 days. Thank you for your contributions.
I have defind GITLAB_PORT=2080 and GITLAB_SSH_PORT=2022 ,but when i start container. I found that the nginx port and ssh port still 80 and 22. The setting is Invalid.
if [[ $GITLAB_HTTPS == true ]]; then GITLAB_PORT=${GITLAB_PORT:-443} else GITLAB_PORT=${GITLAB_PORT:-80} fi
Could I set the port by my own?