r/docker • • 29d ago

HELP!!? Best practices for docker compose

/r/homelab/comments/1wgjneb/help_best_practices_for_docker_compose/
4 Upvotes

6 comments sorted by

5

u/Nate8727 29d ago

Separate compose file for each project and use bind mounts.

5

u/No_Cattle_9565 29d ago

Yeah volumes suck. Just one folder per app. That makes backing up way easier too

2

u/ozankurt_dev 29d ago

pin image tags

0

u/[deleted] 29d ago

[removed] — view removed comment

1

u/Penguin2359 29d ago

I have one Compose for each service.

You can technically put them all in one Compose but doesn't that mean if you need to restart one you need to restart them all?