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).

  • Moonrise2473
    link
    fedilink
    English
    arrow-up
    16
    ·
    edit-2
    1 year ago

    No, keep them ungrouped, migration to a new server is much easier, otherwise you need to migrate everything everywhere all at once

    You can have the same effect (connect to the named container) if you create a docker network and place everything on the same network