| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- # server basic config
- server:
- port: 12011
- servlet:
- context-path: /
- # eureka server connect config
- eureka:
- client:
- service-url:
- defaultZone: http://127.0.0.1:8760/eureka/
- spring:
- # 安全配置,请以实际方式代替
- security:
- user:
- name: admin
- password: admin
- application:
- # 请保持和POM GAV一致
- name: cgp-statistics
- #database operation config
- datasource:
- type: com.alibaba.druid.pool.DruidDataSource
- druid:
- database:
- jdbc-url: jdbc:mysql://172.17.17.50:3306/rz_face?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
- username: szyl
- password: sz0308
- filter: stat
- max-active: 100
- initial-size: 5
- max-wait: 60000
- min-idle: 1
- validation-query: SELECT 1
- test-while-idle: true
- driver-class-name: com.mysql.cj.jdbc.Driver
- data:
- elasticsearch:
- cluster-name: my-application
- cluster-nodes: 172.17.17.46:9300
- repositories:
- enabled: true
- local: false
- elasticsearch:
- rest:
- uris: ["http://172.17.17.46:9200"]
- redis:
- ################### redis 单机版 ##########################
- host: ${REDIS_IP:172.17.17.46}
- port: ${REDIS_PORT:6379}
- database: ${REDIS_DB:3}
- password: ${REDIS_PASSWORD:^n!&zJyvJj}
- # 使用jedis连接池
- jedis:
- pool:
- max-active: 8
- max-wait: -1
- max-idle: 8
- min-idle: 0
- timeout: 5000
- #mybatis plus配置
- mybatis-plus:
- config-location: classpath:mybatis-config.xml
- mapper-locations: classpath:/mapper/statistics/*.xml
- logging:
- level:
- com.poteviohealth.cgp.order.mapper: DEBUG
- config: classpath:logback-spring.xml
- ### xxl-job admin address list, such as "http://address" or "http://address01,http://address02"
- xxl:
- job:
- # admin:
- addresses: http://127.0.0.1:12010/xxl-job-admin
- # executor:
- appname: xxl-job-statistics
- ip:
- port: 9991
- accessToken:
- logretentiondays: -1
- logpath: ./logs/xxl-job
- common:
- minio:
- apiUri: http://172.17.17.46:9000/
- uri: https://test.poteviohealth.com/
- bucket: cgpimage
- accessKey: admin
- secretKey: nDP9qA5i
- jpush:
- app_key: c61567cde175728a73a4f9d2
- master_secret: 1c8973c67c6ca7100259830c
- apnsProduction: true
- ribbon:
- ReadTimeout: 5000
- ConnectTimeout: 5000
|