Docker-compose confusion

I’m trying to make the change from the Docker CLI over to docker compose and am getting really confused about how to configure multiple containers.

At the moment I have one docker-compose file configured to run Sonarr, Jackett, Jellyfin (all media apps), but on the same host I’d like to deploy some additional administration / remote access applications e.g. SWAG, Guacamole etc.

From what I can gather I need to amend my existing docker-compose file to include these new apps, which feels a bit clunky. Is there a better way of doing it? Can I have multiple docker-compose files? I want to experiment with these new apps without impacting my existing apps.

I think what I’m trying to do is manage multiple stacks independently of each other, but am not sure how to do this.

Has anyone got any good links or reference material?

On one of my machines I have a separate docker-compose file for each service and on another I have it all within one docker-compose file.

If you just want to mess around with some additonal containers I would just use a separate compose file for each service.

Any advice for working with multiple docker compose files on a single host? i.e. what commands to use?

https://docs.linuxserver.io/general/docker-compose