Why Docker Compose?
Docker Compose is comprised of 2 related things:
docker-compose
used to read the yaml file.For practicing, clone the course's repo and check the compose-sample-2/
directory. The docker-compose.yml
contains configs for an nginx container, to run as a proxy for an apache server, acting as a web server.