/jhipster-proxy

a dynamic reverse proxy

Primary LanguageShell

JHipster proxy

This little helper project helps to create a static reverse proxy specialized to spring boot microservices generated by JHipster

start as a single container

$ docker run --rm -it -e GATEWAY=MyGateway:8080 xetys/jhipster-proxy MyFooService:8081 MyBarService:8082

use in docker-compose

    proxy:
        image: jhipster-proxy
        command: 'MyFooService:8081 MyBarService:8082'
        environment:
            - 'GATEWAY=MyGateway-app:8080'
        ports:
            - 8080:80