Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: "3.7"
- services:
- myweb:
- build:
- context: ./app
- args:
- whoami: "Tony"
- image: uopsdod/myweb:latest
- ports:
- - "8080:80"
- networks:
- - mybridge001
- myweb2:
- build:
- context: ./app
- args:
- whoami: "Chris"
- ports:
- - "8081:80"
- networks:
- - mybridge001
- myweb3:
- build:
- context: ./app
- args:
- whoami: "Jane"
- ports:
- - "8082:80"
- networks:
- - mybridge001
- myweb4:
- image: uopsdod/myweb:latest
- ports:
- - "8084:80"
- networks:
- - mybridge002
- myweb5:
- image: uopsdod/myweb:latest
- ports:
- - "8085:80"
- networks:
- - mybridge002
- volumes:
- - mainpage-vol002:/var/www/localhost/htdocs/
- networks:
- mybridge001:
- mybridge002:
- volumes:
- mainpage-vol002:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement