We’ll cover using the -f flag along with the COMPOSE_FILE environment variable.
Hit the subscribe button to receive more videos like this!
Courses I’ve created that focus on web dev and deployment topics.
THE TOOLS I USE / GEAR
FOLLOW ME ELSEWHERE
0:00 — Intro
0:21 — Taking a look at each Docker Compose YAML file
0:42 — Applying this to a mono repo multi-service use case
1:10 — Running our command with a few -f flags and visiting the echo server
1:43 — Using the COMPOSE_FILE env variable to pre-set which files to run
2:50 — Checking which order files will be loaded using the config command
3:28 — The reference notes for this video is on my blog