biborn / jenkins-traefik-staging

Sample Repository for Single Node Staging Environment with Jenkins and Traefik with docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[WORK IN PROGRESS]

Example for Single Node Load Balancer and Dynamic Staging Environments Using Jenkins and Traefik

Using traefik with https

Default usage already comes with https tls enabled.

In order to Use Traefik with ssl you may use the certificates already created under certificates folder, and this is the default behaviour after cloning.

You may create a Certificate Authority by changing certificates/create-ca.sh

And in order to create a new self signed certificate , just run

./create-certificate.sh example.com
## Or if you need to have ip matching as well

./create-certificate.sh example.com 192.168.10.1

Since volume is host mapped then the traefik container will have access to the new files, following the names in the script.

If you change names on the file output, then change traefik/traefik.toml to match the new names.

About

Sample Repository for Single Node Staging Environment with Jenkins and Traefik with docker


Languages

Language:Shell 70.3%Language:Groovy 23.2%Language:Dockerfile 4.2%Language:Python 2.3%