| | |
| | | spring: |
| | | redis: |
| | | ##redis 单机环境配置 |
| | | ##将docker脚本部署的redis服务映射为宿主机ip |
| | | ##生产环境推荐使用阿里云高可用redis服务并设置密码 |
| | | host: 127.0.0.1 |
| | | port: 6379 |
| | | password: |
| | |
| | | # nodes: 127.0.0.1:7001,127.0.0.1:7002,127.0.0.1:7003 |
| | | # commandTimeout: 5000 |
| | | datasource: |
| | | # MySql |
| | | url: jdbc:mysql://220.176.210.217:3307/jczz_dev?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true |
| | | username: root |
| | | password: 1qaz@WSX3edc |
| | | # PostgreSQL |
| | | #url: jdbc:postgresql://127.0.0.1:5432/bladex_boot |
| | | #username: postgres |
| | | #password: 123456 |
| | | # Oracle |
| | | #url: jdbc:oracle:thin:@127.0.0.1:1521:orcl |
| | | #username: BLADEX_BOOT |
| | | #password: BLADEX_BOOT |
| | | # SqlServer |
| | | #url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=bladex_boot |
| | | #username: bladex_boot |
| | | #password: bladex_boot |
| | | # DaMeng |
| | | #url: jdbc:dm://127.0.0.1:5236/BLADEX_BOOT?zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8 |
| | | #username: BLADEX_BOOT |
| | | #password: BLADEX_BOOT |
| | | #使用阿里的Druid |
| | | type: com.alibaba.druid.pool.DruidDataSource |
| | | driver-class-name: com.mysql.cj.jdbc.Driver |
| | | dynamic: |
| | | primary: master #设置默认的数据源或者数据源组,默认值即为master |
| | | strict: false #严格匹配数据源,默认false. true未匹配到指定数据源时抛异常,false使用默认数据源 |
| | | datasource: |
| | | master: |
| | | url: jdbc:mysql://127.0.0.1:3308/jczz?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true |
| | | username: root |
| | | password: root |
| | | slave_1: |
| | | url: jdbc:mysql://127.0.0.1:3308/jczz_test?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true |
| | | username: root |
| | | password: root |
| | | |
| | | #第三方登陆 |
| | | social: |
| | |
| | | lock: |
| | | ##是否启用分布式锁 |
| | | enabled: false |
| | | ##redis服务地址 |
| | | ##将docker脚本部署的redis服务映射为宿主机ip |
| | | ##生产环境推荐使用阿里云高可用redis服务并设置密码 |
| | | address: redis://127.0.0.1:6379 |
| | | password: 123456 |
| | | #本地文件上传 |
| | | file: |
| | | remote-mode: true |
| | |
| | | # xxl-job |
| | | xxl: |
| | | job: |
| | | accessToken: '' |
| | | accessToken: 'yMDY5NSIsInJlYWxfbmFtZSI6Inpob25nIiwiYXZhdGFyIjX25hbWU' |
| | | admin: |
| | | addresses: http://192.168.1.50:7009/xxl-job-admin |
| | | executor: |
| | |
| | | port: 7018 |
| | | address: |
| | | enabled: false |
| | | |
| | | # binlog listener |
| | | binlog: |
| | | # 源数据库 |
| | | datasource: |
| | | host: 127.0.0.1 |
| | | port: 3308 |
| | | username: root |
| | | password: root |
| | | db: jczz_test |
| | | table: jczz_house,jczz_household,jczz_place,jczz_place_ext,blade_attach_data |
| | | enabled: false |
| | | # 目标数据库 |
| | | from: |
| | | datasource: |
| | | url: jdbc:mysql://106.225.193.35:3306/srjw?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true |
| | | username: root |
| | | password: HCyj@2022 |
| | | |
| | | #es |
| | | elasticsearch: |
| | | enabled: false |
| | | host: 127.0.0.1 |
| | | sync: false |
| | | indexName: test |