Traefik configuration for local Docker development stacks.
Medium Article: https://medium.com/soulweb-academy/docker-local-dev-stack-with-traefik-https-dnsmasq-locally-trusted-certificate-for-ubuntu-20-04-5f036c9af83d
- Traefik v2.0
- Portainer
- Whoami
- Dnsmasq
- Mkcert
- Docker
- Docker Compose
- Homebrew
docker network create web
ls -lh /etc/resolv.conf sudo rm /etc/resolv.conf sudo touch /etc/resolv.conf sudo bash -c 'echo "nameserver 127.0.0.1" > /etc/resolv.conf' sudo bash -c 'echo "nameserver 1.1.1.1" >> /etc/resolv.conf'
brew install dnsmasq brew link dnsmasq
sudo echo 'address=/.localdev/127.0.0.1' >>
sudo brew services restart dnsmasq
brew install mkcert brew install nss mkcert -install
mkcert -key-file ./certs/key.pem -cert-file ./certs/cert.pem localdev 'docker.localdev' '.docker.localdev' mkcert -key-file ./certs/key.misbrico.pem -cert-file ./certs/cert.misbrico.pem 'misbrico.docker.localdev' '.misbrico.docker.localdev'