Загрузка...

Docker Compose Watch: Hot Reload Without Bind Mounts (sync+restart)

Description:
Stop restarting containers manually. Docker Compose Watch syncs your source files into a running container and restarts
the process automatically — no bind mounts, no volume hacks, no extra tooling.

In this demo you'll see:
✅ How to configure `develop.watch` in compose.yaml
✅ The difference between `sync`, `sync+restart`, and `rebuild`
✅ A live file change reflected instantly via `curl`

🔗 Official docs: https://docs.docker.com/compose/how-tos/file-watch/

---

TIMESTAMPS
0:00 - What is docker compose watch?
0:05 - compose.yaml watch config (sync+restart)
0:10 - Starting the app
0:15 - Making a live code change
0:25 - Seeing the update in real time
0:35 - Cleanup

---

#Docker #DockerCompose #HotReload #DevContainers #BackendDev #SoftwareEngineering

Видео Docker Compose Watch: Hot Reload Without Bind Mounts (sync+restart) канала Computering with Mike
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять