There was an error while loading. Please reload this page.
1 parent 1979faf commit 4e7f8c5Copy full SHA for 4e7f8c5
1 file changed
docker-compose.yml
@@ -4,7 +4,7 @@ services:
4
context: .
5
dockerfile: Dockerfile
6
ports:
7
- - "80:80" # Web dashboard
+ - "${HTTP_PORT:-80}:${HTTP_PORT:-80}" # Web dashboard
8
- "5100-5104:5100-5104" # Modbus TCP servers (inverters)
9
- "11883-11885:1883-1885" # MQTT brokers (V2X chargers) - host ports offset to avoid conflict with local mosquitto
10
- "9000-9001:9000-9001" # OCPP WebSocket servers (OCPP chargers)
@@ -16,7 +16,7 @@ services:
16
- MQTT_BASE_PORT=1883
17
- MQTT_DISPLAY_OFFSET=10000
18
- OCPP_BASE_PORT=9000
19
- - HTTP_PORT=80
+ - HTTP_PORT=${HTTP_PORT:-80}
20
- HOST_IP=${HOST_IP:-}
21
- DEVICE_SIMULATOR_DATA_DIR=/data
22
volumes:
0 commit comments