version: '3' services: generator_of_data: build: context: ./generator_of_data volumes: - ./data:/var/data app_1: build: context: ./app_1 volumes: - ./data:/var/data - ./result:/var/result depends_on: - generator_of_data app_2: build: context: ./app_2 volumes: - ./result:/var/result depends_on: - app_1