π ProxyΒΆ
Thereβs a Traefik Proxy running on all Docker servers, dispatching all incoming HTTP/HTTPS requests to the desired Docker containers.
The proxies also provides a dashboard, which can be used to display a few informations about the deployed routes & services (Docker containers):
Hint
The proxies are deployed in the Proxy GitLab project and the dashboards are only available from within private networks.
Routing requestsΒΆ
If youβre deploying a Docker container and you want HTTP(S) requests to be routed to your container, youβve the options below. These options automatically follow the URL naming scheme defined in the Environments.
Important
You never want to specify URLβs or Traefik rules manually. If both of the options below donβt work for you, annoy Dominique first!
Static filesΒΆ
To deploy static files, use the Web Compose CI file in your GitLab CI pipeline. With this setup, you donβt have to bother w/ Docker or Docker Compose itself.
With Docker ComposeΒΆ
To get more control, create your own Docker Compose (i.e. docker-compose.yml
) file in your project and use the Docker Compose CI file in your pipeline.
Now youβre mostly in charge of the Compose file.