20 lines
344 B
YAML
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
|