Skip to content

A Traefik development proxy to add URLs to your local docker projects

Notifications You must be signed in to change notification settings

Enrise/DevelopmentProxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enrise development proxy

Development proxy

Why?

Are you running multiple docker containers/projects? Then it's very likely that you struggle with the port numbers that needs to be assigned to every container. This project gives you an easy way to add local domain names to your docker containers.

How does it work?

With 5 simple steps you should be able to use hostnames instead of ports:

  1. Add a shell snippet that starts a Traefik proxy container
  2. Add the Traefik rules to your docker compose file
  3. Link your docker network to the development-proxy network
  4. Add your local url to your /etc/hosts file
  5. (optional) Add SSL certificates for https

Ready? Set up the development proxy for your project(s).

Running

Once you have the development proxy running:

  • Catch localhost traffic on port 80/443, and reroute your local domains
  • The Traefik dashboard is available at http://localhost:10081

Documentation

About

A Traefik development proxy to add URLs to your local docker projects

Resources

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •  

Languages