π³ DockerΒΆ
Weβve dedicated Docker development & production servers:
dev1.[pvt|pub].confirm.ch
or simplydev.confirm.ch
for all development environmentprod1.pub.confirm.ch
or simplyprod.confirm.ch
for all live environments
All inbound requests will be routed via the π Proxy.
Weβre also running our own Docker registries which can be used to push Docker images.
Docker CI fileΒΆ
Since weβre using Shared GitLab CI files, feel free to use the Docker CI file to build & deploy images with ease.
Health checksΒΆ
Please ensure you add proper health checks to your Docker images by providing a HEALTHCHECK Dockerfile directive.
Hint
Docker will automatically restart crashed containers. However, unhealthy containers wonβt be restarted automatically.
Thus weβve a rather simple Healer container which restarted unhealthy containers.
PortainerΒΆ
To view & manager the running containers on the Docker hosts, weβre using Portainer.
Hint
You can login with your LDAP credentials. However, please note that someone needs to assign admin access to your account after the first login.
Development GitLab runnersΒΆ
There are 2 registered and shared GitLab runners running on the development server. The runners can be used to test & build applications.
Use the following GitLab CI tags to access the runners:
dev docker
: To run a job in a Docker container on the development server (i.e. Docker executor)dev shell
: To run a job directly in the shell on development server (i.e. Shell executor)
Important
Use the dev shell
tags only for deploying Docker containers (i.e. docker-compose
).
For everything else, use the dev docker
tags and thus the Docker executor.