Hi,
I’m using docker-compose to host all my server services (jellyfin, qbittorrent, sonarr, etc.). I’ve recently grouped some of them into individual categories and then merged the individual docker-compose.yml file I had for each service into one per category. But is there actually any reason for not keeping them together?
The reason why is I’ve started configuring homepage and thought to myself “wouldn’t it be cool if instead of giving the server IP each time (per configured service in homepage) I’d just use the service name?” (AFAIK this only works if the containers are all in the same file).
So right now I have a single compose file with a file structure like this:
docker/ ├─ compose/ │ ├─ docker-compose.yml ├─ config/ │ ├─ service1/ │ ├─ service2/
Would you in that case use a structure like the following?
docker/ ├─ service1/ │ ├─ config/ │ ├─ docker-compose.yml ├─ service2/ │ ├─ config/ │ ├─ docker-compose.yml
Or a different folder structure?