yx/src/main/resources/application-prod.yml
mmm8955405 7d18c3a3ca init
2024-09-14 00:24:29 +08:00

130 lines
4.7 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

##约定大于配置,请勿重复造轮
server: #服务端口
port: 8083
##spring----------
spring:
application:
name: zwyy
datasource:
type: com.zaxxer.hikari.HikariDataSource
#url: jdbc:h2:./test;AUTO_SERVER=TRUE #连接池Database 嵌入模式jdbc:h2:~/test-jooq FILE_LOCK=SOCKET MODE=MySQL;;AUTO_SERVER=TRUE
# url: jdbc:h2:./test;MODE=MySQL;AUTO_SERVER=TRUE
# username: sa
# password:
# hikari:
# driver-class-name: org.h2.Driver
url: jdbc:postgresql://192.168.0.123:5434/ailt_test
username: postgres
password: mysecretpassword
hikari:
driver-class-name: org.postgresql.Driver
jackson:
date-format: yyyy-MM-dd HH:mm:ss
time-zone: Asia/Shanghai
# serialization:
# fail-on-empty-beans: false
# deserialization:
# FAIL_ON_UNKNOWN_PROPERTIES: false
mail:
#smtp服务主机 qq邮箱则为smtp.qq.com
host: smtp.qcloudmail.com
port: 465
#服务协议
protocol: smtp
# 编码集
default-encoding: UTF-8
#发送邮件的账户
username: ic@is.plus
#授权码
password: 365daydayUP
test-connection: true
properties:
mail:
smtp:
auth: true
ssl:
enable: true
starttls:
enable: true
required: true
# h2:
# console:
# enabled: true #开启h2数据库的浏览器管理界面
# settings:
# web-allow-others: true
# trace: true #是否可以远程web
#path: /h2-console #h2浏览器管理访问路径默认/h2-console
# sql:
# init:
# mode: never ##加载脚本datasource.initialize已弃用,spring.sql.init.mode=never/always
# continue-on-error: true #初始化错误,继续执行
# encoding: utf-8 #加载sql文件的编码连接池ue #初始化错误,继续执行
# data-locations: classpath:/sql/data-h2.sql
# schema-locations: classpath:/sql/schema-h2.sql #spring boot 默认启动使用springJDBC初始化数据脚本, 加载类路径下的 schema-${platform}.sql \ data-${platform}.sql数据
# platform: h2
#elasticsearch:
#jest:
#uris: http://loalhost:9200
#read-timeout: 1000
# 多数据源
# app:
# datasource:
# type: com.zaxxer.hikari.HikariDataSource
# jdbcUrl: jdbc:h2:~/test-jooq;AUTO_SERVER=TRUE
# username: sa
# password:
# ##连接池
# hikari:
# driver-class-name: org.h2.Driver
mybatis:
configuration:
call-setters-on-nulls: true
map-underscore-to-camel-case: false
logging:
level:
root: info
# org.jooq: debug
# org.springframework.amqp: debug
# org.mybatis: debug
# org.mybatis.dynamic.sql: debug
# jj.tech.dcang: debug
#bcn
### Required, node's {ip:port} to connect.
system:
peers: 192.168.0.182:20200
### Required
groupId: 1
### Optional. Default will search conf,config,src/main/conf/src/main/config
certPath: conf,src/main/resources/conf
### Optional. If don't specify a random private key will be used
hexPrivateKey: '1691470a2db307363b2d25a2de8f3348e739bee932d7efc609dd1b7b78f480c7'
### 用户公钥地址信息
publicKeyAddress: '0x43d2f05ca21eb30b4012899acdf13d38b787fc1c'
### Optional. Please fill this address if you want to use related service
contract:
applicationAddress: '0x74c0c720a965a15a19384a1f6be249994329510b'
### Optional. Please fill this address if you want to use related service
fileAddress: '0xbb94784e4e8b06653a8072c5f9c0a0b0a3be1192'
### Optional. Please fill this address if you want to use related service
archivesFileAddress: '0x56974c5e1afdecdd8a035a256b7b3b4940511858'
### Optional. Please fill this address if you want to use related service
catalogAddress: '0x1587fc5d869ea68301d5be2caa95151e13ea7958'
### Optional. Please fill this address if you want to use related service
providerAddress: '0x6e7fdb736e80cee520255023dd5e7ebc5d33c6b4'
readingRecordAddress: '0xc4efa9e1bacb544244160179f30cedd82e0ee459'
decryptionRecordAddress: '0x17fdec8759ce0d28777bcd11f246cd1f6a90aa2b'
downloadRecordAddress: '0x9d7bd35d96a9cdadfaf9f8472958e06d563d190c'
certRecordAddress: '0xdf6cd7f667e0f9df5358015ea2f55c04d286c1d1'
weibai:
appKey: SZTD00898
appSecret: 16E58F6750C246818FBD84EAEF3FC998
getSortTreeUrl: http://api.weepal.cn/EAMS-XAPI/api/v1/sztd/getSortTree
getCatalogUrl: http://api.weepal.cn/EAMS-XAPI/api/v1/sztd/getCatalog
getAnnexUrl: http://api.weepal.cn/EAMS-XAPI/api/v1/sztd/getAnnex
getSortSubUrl: http://api.weepal.cn/EAMS-XAPI/api/v1/sztd/getSortSub