I have a python flask application and I want to have multiple instances of it at the same server that each container have own output port (or DNS) and dependencies. I used docker-compose and it works well.
I saw scale arg but I think it is good for something like load balancing not having a different version of an application. Another solution that came up to my mind is having multiple services for one app and run each instance by its name in the terminal.