version: '3' services: service1: build: context: ./service1 ports: - "8081:8081" volumes: - .\var\data:/var/data - .\var\result:/var/result service2: build: context: ./service2 ports: - "8082:8082" volumes: - ./var/data:/var/data - ./var/result:/var/result