Let's start building a docker-compose.yml
file so we can manage our Docker environment more easily.
Docker Compose lets us manage the life cycle of our Docker environment, including Volumes, Networks, and of course helping us manage multiple containers that can work together.
We'll start defining some simple thing in our docker-compose.yml
file:
version: '3'
services:
networks:
appnet:
driver: bridge
volumes:
dbdata:
driver: local
cachedata:
driver: local
In the next video we'll begin to fill out the services
section, where we define our containers.