sameersbn / docker-gitlab

Dockerized GitLab
http://www.damagehead.com/docker-gitlab/
MIT License
7.87k stars 2.14k forks source link

Gitlab under proxy #1444

Open i-prakasa opened 6 years ago

i-prakasa commented 6 years ago

I am still newbie in gitlab and docker. I want to ask about setting gitlab under proxy. I setting docker-compose.yml with standard on this github. I can run gitlab normally without any problem. The problem is when I want to import project from github on my gitlab. I already set personal access token but failed when import. It said error on 500. I thought because my gitlab can not access external URL. My server under proxy, how to set my gitlab possible to access external URL with proxy setting? How to write it in docker-compose.yml? Or I can set it on gitlab UI screen? Thank you very much.

Steven-Harris commented 6 years ago

@i-prakasa To import a project from github you have to grant gitlab access. the process is outlined here. https://docs.gitlab.com/ee/user/project/import/github.html.

In this case a proxy has nothing to do with importing the project as long as the container has access to the host's network. (by default it should). There is a docker-compose you can use in the repo and the README shows how you should set it up too.

stale[bot] commented 4 years ago

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.