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