services: data_generator: build: context: ./data_generator volumes: - ./data:/var/data app_one: build: context: ./app_one volumes: - ./data:/var/data - ./result:/var/result depends_on: - data_generator app_two: build: context: ./app_two volumes: - ./result:/var/result depends_on: - app_one