Yet another nginx reverse proxy gateway example
after 2.3.x
./mvnw -f backing-services clean package spring-boot:build-image
see https://spring.io/blog/2020/01/27/creating-docker-images-with-spring-boot-2-3-0-m1
before 2.3.x
./mvnw -f backing-services clean package com.google.cloud.tools:jib-maven-plugin:dockerBuild -Dimage=backing-services:0.0.1-SNAPSHOT
docker build -t nginx-proxy-pass-gateway:0.0.1-SNAPSHOT nginx-proxy-pass-gateway
docker network rm apps-dot-net || echo ''
docker network create apps-dot-net
docker run -d --rm --net apps-dot-net --name backing-services backing-services:0.0.1-SNAPSHOT
docker run -d --rm --net apps-dot-net -p 80:80 nginx-proxy-pass-gateway:0.0.1-SNAPSHOT
just open http://127.0.0.1/