DAS_2024_1/bazunov_andrew_lab_2/docker-compose.yaml
Bazunov Andrew Igorevich eeac04be49 Complete lab 2
2024-10-02 17:58:40 +04:00

27 lines
617 B
YAML

services:
file_generate:
build:
context: ./FileCreator
dockerfile: Dockerfile
volumes:
- ./data:/var/data # Монтирование локальной папки data в /var/data в контейнере
first_service:
build:
context: ./FirstService
dockerfile: Dockerfile
volumes:
- ./data:/var/data
- ./data:/var/result
depends_on:
- file_generate
second_service:
build:
context: ./SecondService
dockerfile: Dockerfile
volumes:
- ./data:/var/data
- ./data:/var/result
depends_on:
- first_service