# docker-compose.yml services: service-1: build: context: ./service_1 volumes: - ./data:/var/data - ./result:/var/result service-2: build: context: ./service_2 volumes: - ./data:/var/data - ./result:/var/result depends_on: - service-1