services:
  appRobotHoming:
    image: node:20-bullseye
    container_name: appRobot_Homing
    working_dir: /app
    volumes:
      - /home/chk/Documents/appRobotHoming:/app
    environment:
      - WSS_VIDEO_DRIVER=wss://localhost:8448
      - WSS_URL=wss://appRobot_Driver:2095
      - HTTPS_PORT=2093
      - WEBCAM_URL=http://appRobotWebcam:8444
      - BODYTRACKER_URL=http://appRobotBodyTracker:8446
    ports:
      - "2093:2093"
    depends_on:
      - appRobotDriver
    command: >
      /bin/bash -lc "npm ci || npm install && node server/server.js"
    networks:
      - default
    restart: unless-stopped
    