Files
appRobotHoming/docker-compose.yaml
2026-06-10 09:51:12 +02:00

21 lines
705 B
YAML
Executable File

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
- 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 "npm ci || npm install && node server/server.js"
restart: unless-stopped