DAS_2024_1/yakovleva_yulia_lab_2/docker-compose.yml

33 lines
683 B
YAML
Raw Permalink Normal View History

2024-09-20 18:36:39 +04:00
services:
generatefiles:
build: ./FileGeneration/
volumes:
- ./Files/data:/var/data
- buffer:/var/result
environment:
DATA_PATH: "/var/data"
RESULT_PATH: "/var/result"
app1:
build: ./App1/
depends_on:
- generatefiles
volumes:
- ./Files/data:/var/data
- buffer:/var/result
environment:
DATA_PATH: "/var/data"
RESULT_PATH: "/var/result"
app2:
build: ./App2/
depends_on:
- app1
volumes:
- buffer:/var/data
- ./Files/result:/var/result
environment:
DATA_PATH: "/var/data"
RESULT_PATH: "/var/result"
volumes:
buffer: