文件名从 src/main/resources/application-louge.yml 修改 |
| | |
| | | spring: |
| | | datasource: |
| | | type: com.alibaba.druid.pool.DruidDataSource |
| | | driverClassName: com.mysql.cj.jdbc.Driver |
| | | driverClassName: com.mysql.jdbc.Driver |
| | | druid: |
| | | # 主库数据源 |
| | | master: |
| | | url: jdbc:mysql://124.221.179.102:3306/testqhs?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8 |
| | | username: testqhs |
| | | password: raD2AEaccLRsaFrB |
| | | |
| | | # url: jdbc:mysql://localhost:3306/trouble_and_risk.guotai?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
| | | # username: root |
| | | # password: root |
| | | |
| | | # url: jdbc:mysql://localhost:17716/trouble_and_risk?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
| | | # username: trouble_and_risk |
| | | # password: Bw44sxzyiE8SdWzJ |
| | | |
| | | # url: jdbc:mysql://192.168.10.201:3306/trouble_and_risk?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
| | | # username: trouble_and_risk |
| | | # password: LYGstJAYc85jkF7H |
| | | url: jdbc:mysql://192.168.2.16:39231/gt_double_risk?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8 |
| | | username: gt_double_risk |
| | | password: B6CrYp7ZhTNdJF4Y |
| | | |
| | | # 从库数据源 |
| | | slave: |
| | |
| | | |
| | | # redis |
| | | redis: |
| | | host: 192.168.0.52 |
| | | host: 127.0.0.1 |
| | | port: 6379 |
| | | password: SEF98uvs98dUAUEF90Udssa # Redis 服务器密码,默认为空。生产中,一定要设置 Redis 密码! |
| | | password: # Redis 服务器密码,默认为空。生产中,一定要设置 Redis 密码! |
| | | database: 0 # Redis 数据库号,默认为 0 |
| | | timeout: 15000 # Redis 连接超时时间,单位:毫秒。 |
| | | lettuce: |
| | |
| | | # profile: /home/troubleAndRisk/upload |
| | | # 获取ip地址开关 |
| | | addressEnabled: true |
| | | |
| | | |
| | | # 日志配置 |
| | | logging: |
| | | level: |
| | | com.ruoyi: debug |
| | | org.springframework: warn |
| | | |
| | | #极光推送内容 |
| | | jpush: |
| | | appKey: dac5323e315005928daa4330_1 |
| | | masterSecret: d115672ccd8d69d0b75c4926 |
| | | liveTime: 172800 |