14 lines
265 B
YAML
14 lines
265 B
YAML
|
version: "3.1"
|
||
|
services:
|
||
|
worker-1:
|
||
|
build: ./worker-1
|
||
|
volumes:
|
||
|
- ./data:/var/data
|
||
|
- ./result-1:/var/result
|
||
|
worker-2:
|
||
|
build: ./worker-2
|
||
|
volumes:
|
||
|
- ./result-1:/var/data
|
||
|
- ./result:/var/result
|
||
|
depends_on:
|
||
|
- worker-1
|