Port mapping in the docker documentation
In current docker build,
external_url "https://gitlab.example.com:8929"
requires --publish 8929:8929
because nginx will listen on port 8929 instead of 80.
But the document has been changed many times between 8929:80
and 8929:8929
.
626a608d add initial value 8929:8929
68691e18 changed to 8929:80
62068a75 changed to 8929:8929
9eb9fe1e changed to 8929:80
41d76464 changed to 8929:8929
eed52556 changed to 8929:80
I want to change it back to 8929:8929
at the beginning, but I think it is a design flaw after I found so many changes.
The correct value looks like a wrong value, somebody wanted to fix the typo but actually made it wrong.
My suggestion is making http port fixed to 80, just like ssh port fixed to 22.
Edited by 🤖 GitLab Bot 🤖