services: program_0: build: context: ./program_0 volumes: - ./var/data:/data program_1: build: context: ./program_1 volumes: - ./var/data:/data - ./var/result:/result depends_on: - program_0 program_2: build: context: ./program_2 volumes: - ./var/result:/result depends_on: - program_1