May 2017
Intermediate to advanced
436 pages
9h 44m
English
We want the go-demo service to be able to communicate freely with the go-demo-db service and to be accessible only through the reverse proxy. We already know how to accomplish the first part. All we have to do is make sure that both services belong to the same network go-demo.
How can we accomplish the integration with a reverse proxy?
We can start by creating a new network and attach it to all services that should be accessible through a reverse proxy:
docker network create --driver overlay proxy
Let's list the currently running overlay networks:
docker network ls -f "driver=overlay"
The output is as follows:
NETWORK ID NAME DRIVER SCOPEb17kzasd3gzu go-demo overlay swarm0d7ssryojcyg ingress ...Read now
Unlock full access