- Change
.env
COMPOSE_FILE
to include all necessary compose files. - Modify Traefik config to your needs
- Example for development:
traefik.dev.toml
- Example for production:
traefik.prod.toml
- Example for development:
- If you have/need other certificates than Let's Encrypt:
Add certificates tocerts
folder, copy the examplecerts/.cert.toml.example
tocerts/your-cert.toml
. - For production, you should build the image with
docker-compose build --pull
and push it to your registrydocker-compose push
. - Start the service
docker-compose up -d
Either disable the API in the config or generate basic authentication credentials with escaped $
and add it to your CI variables as BASIC_AUTHENTICATION
echo $(htpasswd -nb user password) | sed -e s/\\$/\\$\\$/g