agungyuliaji / yaichi

Yaichi is a reverse proxy for developers using Docker on development environment.

Home Page:https://hub.docker.com/r/mtsmfm/yaichi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Yaichi

Yaichi is a reverse proxy for developers using Docker on development environment.

Demo

demo

Usage

  1. Run Yaichi

     $ docker run -d -v /var/run/docker.sock:/var/run/docker.sock -p 80:80 mtsmfm/yaichi
    
  2. Run containers you want to connect via Yaichi

     $ docker run -d --name yaichi-test-1 nginx:alpine
     $ docker run -d --name yaichi-test-2 nginx:alpine
    
  3. Access yaichi-test via browser

Yaichi allows you to access <container-name>.localhost so you can access yaichi-test-1 container via http://yaichi-test-1.localhost

Development

    $ git clone https://github.com/mtsmfm/yaichi
    $ cd yaichi
    $ docker-compose up
    $ open http://localhost:80

About

Yaichi is a reverse proxy for developers using Docker on development environment.

https://hub.docker.com/r/mtsmfm/yaichi

License:MIT License


Languages

Language:Ruby 76.8%Language:Shell 13.6%Language:Dockerfile 9.6%