Home jobs Devops Automation Docker Tip #87: Run Multiple Docker Compose Files with the -f Flag

Docker Tip #87: Run Multiple Docker Compose Files with the -f Flag

12
0



We’ll cover using the -f flag along with the COMPOSE_FILE environment variable.

Hit the subscribe button to receive more videos like this!

REFERENCE LINKS
—————————————————

COURSES
—————————————————
Courses I’ve created that focus on web dev and deployment topics.

THE TOOLS I USE / GEAR
—————————————————

FOLLOW ME ELSEWHERE
—————————————————
► Twitter:
► GitHub:

TIMESTAMPS
—————————————————
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

source

Previous articleSPÉCIAL DÉBUTANT – 1H d'introduction à AZURE DEVOPS EN FRANÇAIS (2021)
Next articleJenkins Pipeline for Docker App Deploy to AKS Cluster | Jenkins Kubernetes Deployment to AKS Cluster

LEAVE A REPLY

Please enter your comment!
Please enter your name here