title: How to proxy Gitlab in Docker through Traefik
body: <p>I have a single server, which runs many Docker containers, couple of them, for my main website, other 2 are shared MariaDB and Redis, also one of them is Traefik and the other is Portainer (i still have problems with docker cli).</p>
  
  <p>So the question arises, how to run Gitlab in Docker and proxy it through Traefik?</p>
  
  <p>I do need my 22 port for SSH connectivity from my main machine to my server, port 80 and 443 is taken by the Traefik (to handle proxy and https), so all of 3 ports required by the Gitlab are taken by the proxy + system.</p>
  
  <p>What is correct way of creating Dockerized Gitlab instance with Traefik is a reverse proxy?</p>
  
  <p>And the other question, how the runner (for CI/CD) will be working on the Dockerized instance? (The Xzibit way? "I've created Docker instance for you so you can run Docker inside Docker which can also run Docker?")</p>