Fileservice

This commit is contained in:
chk
2026-06-14 11:18:46 +02:00
parent 319fae944a
commit a807732b58
16 changed files with 822 additions and 678 deletions

View File

@@ -30,6 +30,7 @@ services:
- ROBOT_KINEMATICS=arm3segmentlinearx
- ROBOT_GRBL_AUTOREPORT=true
- ROBOT_GRBL_REPORT_INTERVAL=200
- FILESERVICE_URL=http://appRobot_Fileservice:2100
ports:
- "2098:2098"
- "2081:2081"
@@ -54,7 +55,23 @@ services:
- "1003:1003"
networks:
- default
appRobotFileservice:
container_name: appRobot_Fileservice
image: node:24-alpine
working_dir: /usr/src/app
volumes:
- /home/chk/Documents/appRobotFileservice:/usr/src/app
command: sh -c "npm ci || npm install && node --inspect=0.0.0.0:2101 index.js"
restart: unless-stopped
environment:
- NODE_ENV=development
- FILE_SERVICE_PORT=2100
ports:
- "2100:2100" # REST-API
- "2101:2101" # node --inspect (Debug)
networks:
- default
appRobotControl:
image: node:24-alpine