forked from Alexey/DAS_2024_1
27 lines
490 B
YAML
27 lines
490 B
YAML
|
services:
|
||
|
|
||
|
task_service:
|
||
|
container_name: task_service
|
||
|
build:
|
||
|
context: .
|
||
|
dockerfile: ./task_service/Dockerfile
|
||
|
expose:
|
||
|
- 8081
|
||
|
|
||
|
teacher_service:
|
||
|
container_name: teacher_service
|
||
|
build:
|
||
|
context: .
|
||
|
dockerfile: ./teacher_service/Dockerfile
|
||
|
expose:
|
||
|
- 8082
|
||
|
|
||
|
nginx:
|
||
|
image: nginx:latest
|
||
|
ports:
|
||
|
- "80:80"
|
||
|
volumes:
|
||
|
- ./nginx.conf:/etc/nginx/nginx.conf
|
||
|
depends_on:
|
||
|
- task_service
|
||
|
- teacher_service
|