$ git clone https://github.com/markhemstead/traefik-local.git
$ cd traefik-local
$ docker network create traefik
$ docker-compose up -d$ brew install mkcert
$ mkcert -install
$ cd certs/
$ mkcert -cert-file cert.csr -key-file priv.key muzzapi.local *.muzzapi.local muzz.local *.muzz.local
$ cat priv.key cert.csr > bundle.pemAdd to bottom
127.0.0.1 traefik api.muzzapi.local dashboard.muzzapi.local wali.muzz.local messenger.muzzapi.local
::1 traefik api.muzzapi.local dashboard.muzzapi.local wali.muzz.local messenger.muzzapi.local
Any references to http://localhost:{port} can be changed to https://.muzzapi.local
To allow for self-signed SSL certificates to be used, the rootCA.pem file needs to be added in Preferences > Certificates > CA Certificates.
To find the location of rootCA.pem, run in a terminal
$ mkcert -CAROOT