I currently have several containers running inside docker which is handled by docker-compose file.
The roughly content of the docker compose file looks like below
app1:
container_name: app1
depends_on:
- app2
image: someimagepath
build:
context: ./app1
dockerfile: Dockerfile
ports:
- 127.0.0.1:81:80
expose:
- "80"
networks:
- datanet
app2:
....
Question: How can I make it so that the app1 can be accessible by my other PC so that I can hit the URL like http://<LAN-IP>: 80 and connect to it?
Thanks