jek 2 months ago
parent
commit
80f30bc452
1 changed files with 57 additions and 0 deletions
  1. 57 0
      src/main/resources/application-uat.yml

+ 57 - 0
src/main/resources/application-uat.yml

@@ -0,0 +1,57 @@
+server:
+  port: 8888
+  servlet:
+    context-path: /station-op-server
+
+zookeeper:
+  server: 192.168.0.247:2181
+
+spring:
+#  datasource:
+#    type: com.zaxxer.hikari.HikariDataSource
+#    hikari:
+#      driver-class-name: com.mysql.cj.jdbc.Driver
+#      jdbc-url: jdbc:mysql://rm-bp10j10qy42bzy0q7.mysql.rds.aliyuncs.com:3306/station_control_cloud?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai
+#      username: zk_station
+#      password: Zk123456$#
+#      maximum-pool-size: 50  # 连接池中允许的最大连接数量
+#      minimum-idle: 5  # 连接池中保持的最小空闲连接数量
+#      auto-commit: true  # 连接是否自动提交
+#      idle-timeout: 600000
+  redis:
+    host: redis
+    port: 6379
+  kafka:
+    bootstrap-servers: 192.168.0.247:9092
+    producer:
+      key-serializer: org.apache.kafka.common.serialization.StringSerializer
+      value-serializer: org.apache.kafka.common.serialization.StringSerializer
+      acks: 1
+    consumer:
+      group-id: default-group
+      key-deserializer: org.apache.kafka.common.serialization.StringDeserializer
+      value-deserializer: org.apache.kafka.common.serialization.StringDeserializer
+      max-poll-records: 50
+    listener:
+      ack-mode: MANUAL_IMMEDIATE
+      missing-topics-fatal: false
+
+logging:
+  level:
+    com.zhili: info
+    root: error
+
+mybatis-plus:
+  mapper-locations: mapper/*.xml
+  typeAliasesPackage: com.zhili.stationserver.entity
+  global-config:
+    banner: false
+  configuration:
+    #        log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+    log-impl: org.apache.ibatis.logging.nologging.NoLoggingImpl
+
+
+station-server:
+  port: 9987
+  #  advertised-network: 192.168.10.*
+  advertised-network: 0.0.0.0