# server basic config server: port: 12006 servlet: context-path: / # eureka server connect config eureka: client: service-url: defaultZone: http://10.6.17.125:12006/eureka/ register-with-eureka: true #fetch-registry: false spring: # 安全配置,请以实际方式代替 security: user: name: admin password: admin application: # 请保持和POM GAV一致 name: ym-ipos #database operation config datasource: type: com.alibaba.druid.pool.DruidDataSource druid: url: jdbc:mysql://10.6.17.128:3306/ym_ipos?characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8 username: zky password: V&h5IN!& 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: 10.6.17.125:12019 repositories: enabled: true local: false elasticsearch: rest: uris: [ "http://10.6.17.125:12018" ] redis: ################### redis 单机版 ########################## host: ${REDIS_IP:10.6.17.127} port: ${REDIS_PORT:12003} database: ${REDIS_DB:3} password: ${REDIS_PASSWORD:MGc8$F36} # 使用jedis连接池 jedis: pool: max-active: 8 max-wait: -1 max-idle: 8 min-idle: 0 timeout: 5000 # mybatis config mybatis-plus: config-location: classpath:mybatis-config.xml mapper-locations: classpath:mapper/ipos/*.xml # Logger logging: level: com.poteviohealth.ym.ipos.mapper: DEBUG config: classpath:logback-spring.xml pay: field: ip: 106.37.165.111 url : https://jjyl.cy.checg.cn/gateway/ipos/receive ribbon: ReadTimeout: 50000 ConnectTimeout: 50000 sync: dbName: rz