Last updated
Last updated
In this lesson we will look at the basics of creating a compose file.
Step 1: Setup your environment:
Step 2: Create a docker-compose.yml file:
docker-compose.yml contents:
Step 3: Create the compose container:
List compose services:
Step 4: Verify the weather-app is working:
Step 5: Rebuild the image:
Step 6: Rebuild the image with no cache: