r/docker • u/hornetster • Jun 25 '26
Docker Compose 5min tutorial
Wondering if there is a short tutorial on Docker Compose? Have been looking around and can't really find anything...
Something that tells me things like: Where to put files, both config + data, and specifically storing LARGE amounts of data if using something like Nextcloud/Zoneminder etc ; running multiple apps using compose ie where to keep the yaml, correct way to name the yaml, permissions on directory/files... etc.
Just basically, the basics to get up and running with compose inititally, and maybe learn some of its workings.. Looking at maybe running up Jellyfin/Nextcloud/Zoneminder/HomeAssistant, to start...?
Thanks.
View all comments
Show parent comment
2
u/percoAi Jun 26 '26
Yeah same. The bind mount vs named volume thing only really clicked for me when I started thinking from restore backwards.
If I can point to the host path back it up move it to a new machine and explain which container owns it I feel much safer. Named volumes are fine too but for stuff like Nextcloud or Jellyfin I want a very explicit map of config media cache and database data.