Skip to content

Docker + Traefik + dnsmasq = my local dev environment

Notifications You must be signed in to change notification settings

petercoulton/devbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

devbox

TL;DR

  1. Use Docker Compose to manage everything cleanly
  2. Run Traefik in Docker configured to use Docker as a backend
  3. Run dnsmasq in Docker to resolve a nice tld to a local ip
  4. Configure MacOS to use dnsmasq for DNS lookup
    • Don't forget to add a fallback dns in the Mac system preferences, otherwise when docker restarts you won't be able to access the internet
  5. (Optional) Run Portainer to make inspecting Docker easier

TODO

  • Add todo list
  • Add ssl
  • Capture access logs

Bibliography

Other interesting links

  • Dinghy
    • An older project with a cli tool for managing project

About

Docker + Traefik + dnsmasq = my local dev environment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published