This is a basic example for how to run docker-compose with nginx as a proxy to map paths to ports of other services, without exposing the actual service port.
Note that this is not for production use and just meant to serve as an introductory example.
See the Docker Compose documentation for details
# build and start the services
docker-compose up --build --detach
# stop and remove the services
docker-compose down