DAS_2023_1/degtyarev_mikhail_lab_2/docker-compose.yml

20 lines
344 B
YAML

version: "3"
services:
worker1:
build:
context: ./worker1
dockerfile: Dockerfile
volumes:
- ./data:/var/data
- ./result:/var/result
worker2:
depends_on:
- worker1
build:
context: ./worker2
dockerfile: Dockerfile
volumes:
- ./result:/var/data
- ./result:/var/result