esp2sensor: APIHOST auf internen sensorapi-Container setzen
Ohne APIHOST griff der externe Default (https://noise.fuerst-stuttgart.de/srv/), der im Container mit einem TLS-Fehler (self-signed certificate) fehlschlug. Die dadurch leere Adresse wurde vom Frontend faelschlich als "Sensor unbekannt" interpretiert, obwohl der Sensor in Mongo existierte. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -95,6 +95,7 @@ services:
|
|||||||
MONGOUSRP: ${MONGO_ROOT_USERNAME}:${MONGO_ROOT_PASSWORD}
|
MONGOUSRP: ${MONGO_ROOT_USERNAME}:${MONGO_ROOT_PASSWORD}
|
||||||
SESSION_SECRET: ${ESP2SENSOR_SESSION_SECRET}
|
SESSION_SECRET: ${ESP2SENSOR_SESSION_SECRET}
|
||||||
DEV_AUTO_LOGIN: "false"
|
DEV_AUTO_LOGIN: "false"
|
||||||
|
APIHOST: http://sensorapi:3005/api/
|
||||||
ports:
|
ports:
|
||||||
- "3004:3000"
|
- "3004:3000"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|||||||
Reference in New Issue
Block a user