Two or more Rocket.Chat instances on one docker-compose file

Is it possible to host more than one rocket.chat instance in docker-compose using different exposed ports for each instance so that they could be at different domains. I’ve tried this but it doesn’t seem to be working. Is this even possible?

Hi,

Never tried it, but I think it should be possible, when you name your services like rocketchat_one and rocketchat_two. Same with mongo and of course adjust the depending services. (based on https://github.com/RocketChat/Rocket.Chat/blob/develop/docker-compose.yml)