This commit is contained in:
chk
2026-06-10 11:48:20 +02:00
parent 17e11d9993
commit e923cb8dbd
2 changed files with 2 additions and 1 deletions

View File

@@ -8,6 +8,7 @@ services:
environment: environment:
- HTTPS_PORT=2093 - HTTPS_PORT=2093
# host.docker.internal zeigt auf den Docker-Host → erreicht andere Stacks per Port # host.docker.internal zeigt auf den Docker-Host → erreicht andere Stacks per Port
- PYTHON_BIN=python3
- WEBCAM_URL=http://host.docker.internal:8444 - WEBCAM_URL=http://host.docker.internal:8444
- BODYTRACKER_URL=http://host.docker.internal:8446 - BODYTRACKER_URL=http://host.docker.internal:8446
extra_hosts: extra_hosts:

View File

@@ -342,7 +342,7 @@ app.post('/api/calibration/foto', async (req, res) => {
* Abschluss: * Abschluss:
* data: {"type":"done","exitCode":0} * data: {"type":"done","exitCode":0}
*/ */
const PYTHON_BIN = process.env.PYTHON_BIN || 'python'; const PYTHON_BIN = process.env.PYTHON_BIN || 'python3';
const calibScriptPath = path.join(__dirname, '..', 'scripts', 'callibriate.py'); const calibScriptPath = path.join(__dirname, '..', 'scripts', 'callibriate.py');
app.post('/api/calibration/compute', async (req, res) => { app.post('/api/calibration/compute', async (req, res) => {