Creating FrontNet for the Notes application

We have the back half of our system set up in a Docker container, as well as the private bridge network to connect the backend containers. We now need to set up another private bridge network, frontnet, and attach the other half of our system to that network.

Create a directory, frontnet, which is where we'll develop the tools to build and run that network. In that directory, create a file, buildfrontnet.sh, or on Windows, buildfrontnet.ps1, containing:

docker network create --driver bridge frontnet

Let's go ahead and create the frontnet bridge network:

$ sh -x buildfrontnet.sh + docker network create --driver bridge frontnetf3df227d4bfff57bc7aed1e096a2ad16f6cebce4938315a54d9386a42d1ae3ed$ docker ...

Get Node.js Web Development - Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.