From the course: DevOps Foundations: Your First Project
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
Writing your first Docker Compose manifest
From the course: DevOps Foundations: Your First Project
Writing your first Docker Compose manifest
- [Instructor] We're in an awesome place. We have a docker file that when built runs a local copy of our Explore California website which is very similar to what we'd have in production. We can use docker commands to do that. We can use docker build to build our docker file and create an image from it. And docker run to run that image and expose the port to make it necessary to access the website locally. What if we want to run a database to persist some information, like a form or email that users might want to send and receive from Explore California? Or what if we have some javascript that needs to store some state into a database, or what if we have some application server that runs alongside of Explore California to do things like check booking times and confirm booking and talk to third party websites? What do we do when we have all these things that we currently have now? Well, we could use docker commands to…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.