A Docker Compose Override File Can Help Avoid Compose File Duplication

Опубликовано: 28 Сентябрь 2024
на канале: Nick Janetakis
4,993
82

Use the same Docker Compose file in development and production but still run different services.

Hit the subscribe button to receive more videos like this!

---

Timestamped Table of Contents:

0:00 -- What we'll cover in this video
0:41 -- Comparing a regular Docker Compose YAML file to an override file
2:10 -- Seeing how the Docker Compose override file works in practice
3:48 -- The example file lets you ignore the real override file from version control
5:58 -- The override file works great for Webpack and managed databases
7:18 -- This pattern lets you re-use a single Compose file in dev and production

Reference links:

- https://buildasaasappwithflask.com/
- https://github.com/nickjj/build-a-saa...
-    • The Complete Docker Course For Develo...  
- https://diveintodocker.com/
- https://nickjanetakis.com/blog/a-few-...

---

Follow along?

Personal Website: https://nickjanetakis.com
Twitter:   / nickjanetakis