18 lines
255 B
YAML
18 lines
255 B
YAML
version: '3'
|
|
services:
|
|
web1:
|
|
build: ./back1
|
|
ports:
|
|
- "5001:5000"
|
|
web2:
|
|
build: ./back2
|
|
ports:
|
|
- "5002:5000"
|
|
nginx:
|
|
build: ./nginx
|
|
ports:
|
|
- "8080:80"
|
|
depends_on:
|
|
- web1
|
|
- web2
|