DAS_2023_1/shadaev_anton_lab_2/docker-compose.yaml

23 lines
408 B
YAML
Raw Normal View History

2023-12-13 23:36:59 +04:00
services:
worker1:
build:
context: ./worker1
dockerfile: Dockerfile
ports:
- "8081:8080"
volumes:
- ./var/data:/var/data
- ./var/result:/var/result
worker-2:
build:
context: ./worker2
dockerfile: Dockerfile
ports:
- "8082:8080"
volumes:
- ./var/data:/var/data
- ./var/result:/var/result
depends_on:
- worker1