| | |
| | | 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 |
| | | 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: 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 |
| | | password: root |
| | | |
| | | #第三方登陆 |
| | | social: |
| | |
| | | lock: |
| | | ##是否启用分布式锁 |
| | | enabled: false |
| | | ##redis服务地址 |
| | | ##将docker脚本部署的redis服务映射为宿主机ip |
| | | ##生产环境推荐使用阿里云高可用redis服务并设置密码 |
| | | address: redis://127.0.0.1:6379 |
| | | password: 123456 |
| | | #本地文件上传 |
| | | file: |
| | | remote-mode: true |
| | | upload-domain: http://localhost:8999 |
| | | remote-path: /usr/share/nginx/html |
| | | |
| | | # xxl-job |
| | | xxl: |
| | | job: |
| | | accessToken: '' |
| | | admin: |
| | | addresses: http://192.168.1.50:7009/xxl-job-admin |
| | | executor: |
| | | appname: blade-xxljob |
| | | ip: 127.0.0.1 |
| | | logpath: ../data/applogs/xxl-job/jobhandler |
| | | logretentiondays: -1 |
| | | 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_house_rental,jczz_user_house_label,jczz_label,jczz_place,jczz_place_check,jczz_place_door,jczz_place_ext,jczz_place_poi_label,jczz_place_practitioner,jczz_police_affairs_grid,jczz_task_label_reporting_event,jczz_patrol_group,jczz_patrol_group_item,jczz_patrol_record,blade_attach_data,jczz_category,jczz_grid,jczz_backblast_pub_record,jczz_backblast_warn_han_rec,jczz_dispute_record,jczz_police_alarm_records,jczz_task_residence_permit_apply,jczz_backblast_pub_person,jczz_polic_trajectory_point |
| | | # table: blade_attach_data |
| | | enabled: true |
| | | # 目标数据库 |
| | | 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 |