17 lines
473 B
YAML
17 lines
473 B
YAML
|
services:
|
||
|
worker1:
|
||
|
build:
|
||
|
context: /worker1
|
||
|
dockerfile: Dockerfile
|
||
|
volumes:
|
||
|
- D:\java_labs\DAS\gusev_vladislav_lab_2\data:/var/data
|
||
|
- D:\java_labs\DAS\gusev_vladislav_lab_2\result:/var/result
|
||
|
worker2:
|
||
|
build:
|
||
|
context: /worker2
|
||
|
dockerfile: Dockerfile
|
||
|
volumes:
|
||
|
- D:\java_labs\DAS\gusev_vladislav_lab_2\data:/var/data
|
||
|
- D:\java_labs\DAS\gusev_vladislav_lab_2\result:/var/result
|
||
|
depends_on:
|
||
|
- worker1
|