Newer
Older
casic-iot-br / casic-web / src / main / resources / config / application-dev.yml
casic_zt on 18 Jul 2 KB 需求及问题修改
server:
  port: 8083
###################  spring配置  ###################
spring:
  datasource:
    driver-class-name: com.mysql.cj.jdbc.Driver
    url: jdbc:mysql://111.198.10.15:11336/casic_iot_br1?useUnicode=true&characterEncoding=utf8&allowMultiQueries=true&serverTimezone=GMT%2B8&allowMultiQueries=true&rewriteBatchedStatements=true
    username: root
    password: Casic203
#    url: jdbc:mysql://172.27.34.168:3316/casic_iot_platform?useUnicode=true&characterEncoding=utf8&allowMultiQueries=true&serverTimezone=GMT%2B8&allowMultiQueries=true&rewriteBatchedStatements=true
#    username: bjwxduser
#    password: hpQEn5my9md#U
  jms:
    pub-sub-domain: true
# session:b
#   store-type: redis
  redis:
    host: 172.17.112.21
    port: 6379
    password:
    serializer: org.springframework.data.redis.serializer.StringRedisSerializer
    redisValueSerializer: org.springframework.data.redis.serializer.JdkSerializationRedisSerializer
casic:
  #kaptcha-open: false #是否开启登录时验证码 (true/false)
#  no-login-urls: ${casic.sysUrl}/user/login,${casic.sysUrl}/user/appLogin,${casic.sysUrl}/kaptcha/base64,${casic.sysUrl}/config/baseConfig,/route/mockToken,/websocket/*,/device/receiveData,/getMap,/sync/token
  no-login-urls: ${casic.sysUrl}/user/login,${casic.sysUrl}/user/appLogin,${casic.sysUrl}/kaptcha/base64,${casic.sysUrl}/config/baseConfig,/route/mockToken,/websocket/*,/v2/api-docs,/v2/api-docs-ext,/doc.html,/v2/api-docs/swagger-ui.html,/swagger-resources,/webjars/**,/device/receiveData,/alarmReturn,/getMap,/system/busGrid/synAllGrids,/system/busLedger/synAllLedger,/system/busLedger/synAllDept,/system/ctUser/synAllUsers,/sync/token,/ptz/acceptGasData,/ptz/acceptAlarmData
#  no-login-urls: ${casic.sysUrl}/user/login,${casic.sysUrl}/user/appLogin,${casic.sysUrl}/kaptcha/base64,${casic.sysUrl}/config/baseConfig,/route/mockToken,/websocket/*,/device/receiveData,/alarmReturn,/getMap,/system/busGrid/synAllGrids,/system/busLedger/synAllLedger,/system/busLedger/synAllDept,/system/ctUser/synAllUsers,/sync/token,/ptz/acceptGasData,/ptz/acceptAlarmData,/ptz/*
  #flowable数据源和多数据源配置
  db:
    init:
      enable: false
  brAppUrl: http://10.30.7.26:20115/monitorDataReceive/alarmPush
  brPanGetDevcodeUrl: http://172.17.240.116:9092/ranshitong/device/getOneDevice
  brPanControlUrl: http://172.17.240.116:9092/HK/controCearm
  brPanVideoUrl: http://172.17.240.116:9092/HK/getPlayBackUrl
  brPanRealVideoUrl: http://172.17.240.116:9092/HK/getUrl
  brSendConfigUrl: http://172.17.112.21:4011
  enabled: true
smartcity:
  config:
    #模板下载路径
#    config-path: D:\code\br\iot\casic-iot-platform\casic-web\src\main\resources\config\temp
    config-path: /config/temp/
logging:
  level:
    root: info
    com.casic: debug
    org.springframework.web: info
  file:
    path: logs/
    name: missiles.log