Run Gitlab in docker-compose but reverse proxy it with nginx


I have a few services running on my docker machine and reverse proxy them all via nginx.
Now I’d like to use gitlab but I don’t need https from the container itself because I am offloading it with my nginx. Now my question is how to disable https for gitlab and how to configure a subpath(/gitlab)?