DAS_2023_1/tepechin_kirill_lab_2/docker-compose.yml

19 lines
564 B
YAML

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