Gitlab CE with seperate nginx

Hi!

Right now I’m running a Gitlab CE on a separate host. I would like to migrate this to another host running docker. As there is native docker support from Gitlab this in itself shouldn’t be to hard. However, I’m already running an Nginx reverse proxy container (this setup: https://github.com/jwilder/nginx-proxy ).

Is it possible to only use the reverse proxy nginx container, or will I have to link my existing reverse proxy container to the Gitlab container (and thus each connection will traverse 2 webservers). If so how would I go about doing this?

Right now I’m thinking of omitting the web ports from the config and hope that linking the containers together will work.
ports:
- ‘80:80’
- ‘443:443’