forked from Alexey/DAS_2024_1
27 lines
451 B
YAML
27 lines
451 B
YAML
|
version: '3.8'
|
||
|
|
||
|
services:
|
||
|
hero_service:
|
||
|
build:
|
||
|
context: ./hero_service
|
||
|
dockerfile: Dockerfile
|
||
|
ports:
|
||
|
- "5000:5000"
|
||
|
|
||
|
item_service:
|
||
|
build:
|
||
|
context: ./item_service
|
||
|
dockerfile: Dockerfile
|
||
|
ports:
|
||
|
- "5001:5001"
|
||
|
|
||
|
nginx:
|
||
|
image: nginx:latest
|
||
|
volumes:
|
||
|
- ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf
|
||
|
ports:
|
||
|
- "80:80"
|
||
|
depends_on:
|
||
|
- hero_service
|
||
|
- item_service
|