| | |
| | | datasource: |
| | | name: prod |
| | | # JDBC 基本配置 |
| | | url: jdbc:postgresql://127.0.0.1:5432/langfang |
| | | url: jdbc:postgresql://192.168.20.39:5433/langfang |
| | | username : postgres |
| | | password: postgres |
| | | driver-class-name: org.postgresql.Driver |
| | |
| | | login-username: druid_mg |
| | | login-password: ad_DruId!_min |
| | | # 允许访问的地址,如果allow没有配置或者为空,则允许所有访问 |
| | | allow: 127.0.0.1 |
| | | allow: |
| | | # 拒绝访问的地址,deny优先于allow,如果在deny列表中,就算在allow列表中,也会被拒绝 |
| | | deny: |
| | | # 配置WebStatFilter,用于采集web关联监控的数据 |
| | |
| | | slow-sql-millis: 2000 |
| | | |
| | | redis: |
| | | host: 127.0.0.1 |
| | | host: 192.168.20.39 |
| | | port: 6379 |
| | | password: |
| | | database: 1 |