version: "3.8" services: view: build: ./view/ command: python app.py ports: - "5050:5000" volumes: - ./view:/app - ./data:/data - /etc/localtime:/etc/localtime container_name: view restart: unless-stopped processor: build: ./processor/ volumes: - ./processor:/app - ./data:/data - /etc/localtime:/etc/localtime container_name: processor restart: unless-stopped redis: image: redis:latest restart: unless-stopped container_name: redis_db