Easy Traefik TLS proxy plus certificate generation for Docker Compose local development use
UNLICENSE License
This is a template of the solution I've used in various forms for years for local development. It's easy, flexible, and gives me a near magical solution for always running HTTP apps through docker-compose with TLS, any DNS name, all on a single port with host-header SNI routing via Traefik proxy.
Inspired by this great Traefik + Compose walkthrough
*.nip.io
, *.localhost
, *.vcap.me
, or even *.bret.lol
cert.sh
docker-compose.yaml
and traefik.yaml
to your projects, and replace the nginx/httpd example compose services with your appsTODO
TODO
TODO
It's just a domain I maintain that responds to every hostname *.bret.lol with 127.0.0.1 (localhost). You're welcome to use it, or use one of the others mentioned above.
This repository uses The Unlicense