Azure App Service : Multi container app
I have the use azure app service to deploy my spring application.
Three containers required as part of my requirement ( 2 for app and 1 for DB). App Images are having deployable artifacts (war) and two having different context path (accessing from web url /* and /test) with same port (8080).
samplecompose.yml
version: '3'
services:
Web1:
image: dockerhub.com/.../AppSample_Web1
restart: always
ports:
- 9080:**9080**
web2:
image: dockerhub.com/.../AppSample_Web2
restart: always
ports:
- 9081:**9080**
DB:
image: dockerhub.com/.../OracleDB..:latest
I tried the above process but am unable to access application pages. How to handle the ports in this case my two containers with same ports .