20 lines
349 B
YAML
20 lines
349 B
YAML
|
version: "3"
|
||
|
services:
|
||
|
worker_1:
|
||
|
build:
|
||
|
context: ./worker_1
|
||
|
dockerfile: Dockerfile
|
||
|
volumes:
|
||
|
- ./data:/var/data
|
||
|
- ./result:/var/result
|
||
|
|
||
|
worker_2:
|
||
|
depends_on:
|
||
|
- worker_1
|
||
|
build:
|
||
|
context: ./worker_2
|
||
|
dockerfile: Dockerfile
|
||
|
volumes:
|
||
|
- ./result:/var/data
|
||
|
- ./result:/var/result
|