Docs feedback: How to change mapped ports of a container in CI services
Regarding the GitLab CI services examples page, I would appreciate certain improvements:
-
The title and content of the page is misleading in the sense that this is not just a tutorial for services, but also the page which is supposed to explain what is a service. Hence, I think
- the title should be set to GitLab CI services, and
- the content should be enriched with an explanation of what is a GitLab CI service and how do they work under the hood.
-
There are multiple situations where there might arise a need to change the mapped ports of a container as follows:
- Build might require the containerized service (e.g., PostgreSQL) to be exposed on a different port (e.g., 5433) rather than the default one (e.g., 5432).
- Build might require more than a single instance of a certain image and hence need to differentiate them through ports.
Hence I would really appreciate a guide on how to change the mapped ports of a container.