DAS_2023_1/mashkova_margarita_lab_2/docker-compose.yml

21 lines
498 B
YAML

version: '3'
services:
worker-1:
build:
context: /worker-1
dockerfile: Dockerfile
container_name: worker-1
volumes: # Монтирование
- .\data:/var/data
- .\result:/var/result
worker-2:
build:
context: /worker-2
dockerfile: Dockerfile
container_name: worker-2
depends_on: # Зависимость сервисов
- worker-1
volumes: # Монтирование
- .\data:/var/data
- .\result:/var/result