services: appRobotHoming: image: node:20-bullseye container_name: appRobot_Homing working_dir: /app volumes: - /home/chk/Documents/appRobotHoming:/app environment: - HTTPS_PORT=2093 # host.docker.internal zeigt auf den Docker-Host → erreicht andere Stacks per Port - PYTHON_BIN=python3 - WEBCAM_URL=http://host.docker.internal:8444 - BODYTRACKER_URL=http://host.docker.internal:8446 extra_hosts: # Macht host.docker.internal auf Linux verfügbar (Standard auf macOS/Windows) - "host.docker.internal:host-gateway" ports: - "2093:2093" command: > /bin/bash -lc "apt-get update -qq && apt-get install -y --no-install-recommends python3-pip && pip3 install --quiet --no-cache-dir opencv-python-headless numpy scipy && npm ci || npm install && node server/server.js" networks: - approbots restart: unless-stopped networks: approbots: external: true name: approbots