Immich has multiple services running. Having that within one file is good in my opinion. Or nextcloud with an external database.
Comment on dependent containers don't work anymore because of network_mode
Live2day@lemmy.sdf.org 6 months agoBut that’s like the whole point of docker compose. If you are just going to have 1 container per file what benefit are you even getting out of using a compose file?
swooosh@lemmy.world 6 months ago
ElderWendigo@sh.itjust.works 6 months ago
Docker compose is just a setting file for a container. It’s the same advantage you get using an ssh config file instead of typing out and specifying a user, IP, port, and private key to use each time. What’s the advantage to putting all my containers into one compose file? It’s not like I’m running docker commands from the terminal manually to start and stop them unless something goes wrong, I let systemd handle that. And I’d much rather the systemd be able to individually start, stop, and monitor individual containers rather than have to bring them all down if one fails.