Multiple CMS instances single installation

Hi
I was trying to install xibo multiple instances in single server linux ubuntu 16.04 .
i created separate folders .for examp cd/op/xibo1 and cd/opt/xibo2 run docker-compose up -d
i changed the ports in xibo1 cms_custom-ports.yml to “127.0.0.1:8080:80”,and xibo2 xibo"127.0.0.1:8081:80".

if i am checking the open ports command “docker ps” it always shows only one ports ether 8080 or 8081.
both the ports at a time not showing.

Also i browse mydomain:8080 ,mydomain:8081 only one cms instance is opening

give me some solution

So your docker-compose command would be

docker-compose -f cms_custom-ports.yml up -d

So that it picks up the custom ports you’ve defined.

You’re binding only to 127.0.0.1:8080 / 127.0.0.1:8081, so you won’t be able to access the CMS directly in that configuration. You need a reverse proxy listening on port 80 (and maybe 443 too) to front that, and route requests for each Xibo CMS instance to the correct container for you. That can also then terminate SSL for you.