Please, follow the full tutorial on Medium!
docker-compose -f traefik.yml up -d
- Traefik Dashboard: https://docker.localdev
- Portainer: https://portainer.docker.localdev
- Whoami: https://whoami.docker.localdev
You need to generate your own locally-trusted certificate.
Install Mkcert on your system.
Once installed, run mkcert-install
.
Than you are ready to generate your self-signed certificates:
mkcert -key-file ./certs/key.pem -cert-file ./certs/cert.pem localdev 'docker.localdev' '*.docker.localdev'
Move the generated certificates (cert.pem
, key.pem
) to the folder certs/
on the root of your traefix
.