Skip to content

Commit

Permalink
library
Browse files Browse the repository at this point in the history
  • Loading branch information
qiaofeng1227 committed Dec 7, 2023
1 parent 1475051 commit 2e7e683
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
14 changes: 12 additions & 2 deletions apps/thingsboard/.env
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 6 additions & 1 deletion apps/thingsboard/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2e7e683

Please sign in to comment.