Running multiple containers.
Using docker compose multiple containers can be deployed, these can be done via changing the value of “build” resource within yaml file.
app:
build: ./server 1
hostname: app1
app2:
build: ./server2
host name: app 2
via the above yaml file, app will be deployed on server 1 and app 2 will be deployed on server 2.