Skip to content

FreeElephants/dev-router

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Development Router

Automated Reverse Proxy and virtual hosts for local docker services.

Usage:

make install
make run
  1. Add to upstream service docker-compose configuration:
services:
  some-service:
    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.some-service.rule=Host(`some-service.local`)"
      - "traefik.http.routers.some-service.entrypoints=web"
  1. Add virtual host name to /etc/hosts
127.0.0.1   some-service.local

Now you can open your service from host at http://some-service.local.

About

automated reverse proxy system for local Docker development environments

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published