Skip to content

Commit 4e7f8c5

Browse files
committed
Align docker port with app
1 parent 1979faf commit 4e7f8c5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ services:
44
context: .
55
dockerfile: Dockerfile
66
ports:
7-
- "80:80" # Web dashboard
7+
- "${HTTP_PORT:-80}:${HTTP_PORT:-80}" # Web dashboard
88
- "5100-5104:5100-5104" # Modbus TCP servers (inverters)
99
- "11883-11885:1883-1885" # MQTT brokers (V2X chargers) - host ports offset to avoid conflict with local mosquitto
1010
- "9000-9001:9000-9001" # OCPP WebSocket servers (OCPP chargers)
@@ -16,7 +16,7 @@ services:
1616
- MQTT_BASE_PORT=1883
1717
- MQTT_DISPLAY_OFFSET=10000
1818
- OCPP_BASE_PORT=9000
19-
- HTTP_PORT=80
19+
- HTTP_PORT=${HTTP_PORT:-80}
2020
- HOST_IP=${HOST_IP:-}
2121
- DEVICE_SIMULATOR_DATA_DIR=/data
2222
volumes:

0 commit comments

Comments
 (0)