fix: 修复iot-gateway容器端口未映射
This commit is contained in:
@@ -197,7 +197,12 @@ services:
|
||||
image: ${REGISTRY_HOST:-localhost:5000}/viewsh-module-iot-gateway:${IMAGE_TAG:-latest}
|
||||
container_name: aiot-iot-gateway
|
||||
restart: on-failure:5
|
||||
ports:
|
||||
- "1883:1883"
|
||||
- "8092:8092"
|
||||
- "8091:8091"
|
||||
environment:
|
||||
IOT_TCP_ENABLED: "true"
|
||||
TZ: Asia/Shanghai
|
||||
SPRING_PROFILES_ACTIVE: prod
|
||||
JAVA_OPTS: "-Xms1024m -Xmx2048m -XX:+UseContainerSupport -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/app/logs"
|
||||
|
||||
@@ -17,8 +17,6 @@ spring:
|
||||
database: ${REDIS_DATABASE:0} # Redis 数据库索引
|
||||
# password: ${REDIS_PASSWORD:9kHXcZ1ojFsD} # Redis 密码
|
||||
timeout: 30000ms # 连接超时时间
|
||||
server:
|
||||
port: 48095
|
||||
--- #################### 消息队列相关 ####################
|
||||
|
||||
# rocketmq 配置项,对应 RocketMQProperties 配置类
|
||||
|
||||
Reference in New Issue
Block a user