Python3
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
@@ -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) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user