opening public ports to HTTP and MQTT
This commit is contained in:
@@ -12,12 +12,14 @@ services:
|
|||||||
- MQTT_HOST=node-mqtt
|
- MQTT_HOST=node-mqtt
|
||||||
- MQTT_PORT_HTTP=1883
|
- MQTT_PORT_HTTP=1883
|
||||||
- MQTT_PORT_HTTPS=8444
|
- MQTT_PORT_HTTPS=8444
|
||||||
|
- MQTT_ESP_NAME=Garden
|
||||||
depends_on:
|
depends_on:
|
||||||
- node-mysql
|
- node-mysql
|
||||||
- node-mqtt
|
- node-mqtt
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 2081:2080
|
- 2081:2080
|
||||||
|
- 10080:2080
|
||||||
node-mysql:
|
node-mysql:
|
||||||
build: ./mysql
|
build: ./mysql
|
||||||
restart: always
|
restart: always
|
||||||
@@ -35,6 +37,7 @@ services:
|
|||||||
hostname: node-mqtt
|
hostname: node-mqtt
|
||||||
ports:
|
ports:
|
||||||
- 1885:1883
|
- 1885:1883
|
||||||
|
- 10883:1883
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
iotdbdata:
|
iotdbdata:
|
||||||
Reference in New Issue
Block a user