diff --git a/apps/thingsboard/.env b/apps/thingsboard/.env index ffa87498b..06004262b 100644 --- a/apps/thingsboard/.env +++ b/apps/thingsboard/.env @@ -12,8 +12,18 @@ W9_MQTT_PORT_SET=1883 W9_RPC_PORT=7070 W9_RPC_PORT_SET=7070 -W9_UDP_PORT=5683-5688 -W9_UDP_PORT_SET=5683-5688 +W9_UDP1_PORT=5683 +W9_UDP1_PORT_SET=5683 +W9_UDP2_PORT=5684 +W9_UDP2_PORT_SET=5684 +W9_UDP3_PORT=5685 +W9_UDP3_PORT_SET=5685 +W9_UDP4_PORT=5686 +W9_UDP4_PORT_SET=5686 +W9_UDP5_PORT=5687 +W9_UDP5_PORT_SET=5687 +W9_UDP6_PORT=5688 +W9_UDP6_PORT_SET=5688 W9_KAFKA_PORT=9092 W9_KAFKA_PORT_SET=9093 diff --git a/apps/thingsboard/docker-compose.yml b/apps/thingsboard/docker-compose.yml index aecd64920..3a5cc00fc 100644 --- a/apps/thingsboard/docker-compose.yml +++ b/apps/thingsboard/docker-compose.yml @@ -15,7 +15,12 @@ services: - '${W9_HTTP_PORT_SET}:${W9_HTTP_PORT}' - '${W9_MQTT_PORT_SET}:${W9_MQTT_PORT}' - '${W9_RPC_PORT_SET}:${W9_RPC_PORT}' - - '${W9_UDP_PORT_SET}:${W9_UDP_PORT}/udp' + - '${W9_UDP1_PORT_SET}:${W9_UDP1_PORT}/udp' + - '${W9_UDP2_PORT_SET}:${W9_UDP2_PORT}/udp' + - '${W9_UDP3_PORT_SET}:${W9_UDP3_PORT}/udp' + - '${W9_UDP4_PORT_SET}:${W9_UDP4_PORT}/udp' + - '${W9_UDP5_PORT_SET}:${W9_UDP5_PORT}/udp' + - '${W9_UDP6_PORT_SET}:${W9_UDP6_PORT}/udp' environment: TB_QUEUE_TYPE: kafka TB_KAFKA_SERVERS: $W9_ID-kafka:9092