
How to Use Compose Watch for Live Reload Without Surprises
Use Docker Compose watch for live reload: configure sync, rebuild and sync restart actions, ignore noisy paths and know when a bind mount is still better.
Tag
5 posts

Use Docker Compose watch for live reload: configure sync, rebuild and sync restart actions, ignore noisy paths and know when a bind mount is still better.

Manage Compose variants with profiles, override files, multiple -f files and include: what merges, what replaces, and how to see the final result.

Make Compose wait for a ready database: write a healthcheck, use depends_on with condition service_healthy, tune the timings and use up --wait in scripts.

A Docker Compose tutorial for local development: write a compose file for an app and a database, start it, read logs, run commands inside and tear it down.

Run Docker Compose in production on a single server: restart policies, healthchecks, secrets, a reverse proxy, resource limits, logs, updates and backups.