Update port settings

This commit is contained in:
fhs52267
2026-03-22 15:09:16 +01:00
parent c2dc41a28d
commit 69fadde573
2 changed files with 7 additions and 2 deletions

View File

@@ -10,6 +10,8 @@ startup: services
boot: auto boot: auto
ingress: true ingress: true
ingress_port: 3001 ingress_port: 3001
network:
3001/tcp: 3001
panel_icon: "mdi:mesh-network" panel_icon: "mdi:mesh-network"
panel_title: "MeshMonitor" panel_title: "MeshMonitor"
map: map:

View File

@@ -11,8 +11,11 @@ export ENABLE_VIRTUAL_NODE=$(jq --raw-output '.enable_virtual_node // false' $CO
export PORT=3001 export PORT=3001
export NODE_ENV=production export NODE_ENV=production
export ALLOWED_ORIGINS="http://192.168.1.101:8123,http://homeassistant.local:8123"
export TRUST_PROXY=true
export BASE_URL="./"
echo "Starting MeshMonitor connecting to $MESHTASTIC_NODE_IP:$MESHTASTIC_TCP_PORT..." echo "Starting MeshMonitor connecting to $MESHTASTIC_NODE_IP:$MESHTASTIC_TCP_PORT..."
# The application is located in /app in the official image
cd /app cd /app
exec node dist/server/server.js exec node dist/server/server.js