Files
ger-market-java/src/main/resources/application-base-prod.yml
2024-04-29 15:12:40 +08:00

78 lines
2.5 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.

spring:
jpa:
show-sql: true
# Redis配置
redis:
host: 185.239.86.14
#host: 18.163.5.172
#host: localhost
password: Xinbao_2022@_redis
port: 6379
database: 1
lettuce:
pool:
max-active: 8
min-idle: 0
max-idle: 8
max-wait: 10000ms
timeout: 5000
datasource:
stock:
driver-class-name: com.mysql.cj.jdbc.Driver
#url: jdbc:mysql://rm-bp1i3596u188q0h44yo.mysql.rds.aliyuncs.com/stock?characterEncoding=utf8
#url: jdbc:mysql://47.111.88.100:3306/stock?characterEncoding=utf8
#username: root
#password: Xinbao_2022@_mysql
#url: jdbc:mysql://database-1.cctgahkfdii5.ap-east-1.rds.amazonaws.com:3306/stock?characterEncoding=utf8
#password: Aa112211
#url: jdbc:mysql://database-1.c8sr1gchvg02.ap-southeast-1.rds.amazonaws.com:3306/stock?characterEncoding=utf8
#url: jdbc:mysql://database-1.cthrcoipwwsn.ap-east-1.rds.amazonaws.com:3306/stock?characterEncoding=utf8
#username: admin
#password: Xinbao_2022!_mysql
#url: jdbc:mysql://18.163.5.172:3306/stock?characterEncoding=utf8
url: jdbc:mysql://185.239.86.14:3306/stock?characterEncoding=utf8
username: root
password: Xinbao_2022_mysql
maxActive: 1200
maxWait: 60000
testWhileIdle: true
testOnBorrow: false
validationQuery: SELECT 1
#timeBetweenEvictionRunsMillis: 6000
type: com.alibaba.druid.pool.DruidDataSource
ig507Licence: 4CEF3CDC-3A2E-76AB-9BF1-BE856F3D4468
gugudataAppKey: K5LZKV8KAYM4
aliyunAccessKeyId: LTAI5tCQRp7t158TVyoF2Yhe
aliyunAccessKeySecret: glyzOno773Cv7HeWDliveu2H5gX486
aliyunAppCode: 75ef2615da614eaaa71e2e2058fc53b0
# 具体看类:CloudStorageConfig
oss:
type: 2 # 类型 1七牛 2阿里云 3腾讯云
aliyunDomain: https://weilaishitong.oss-cn-hangzhou.aliyuncs.com
aliyunPrefix: oss
aliyunEndPoint: oss-cn-hangzhou.aliyuncs.com
aliyunAccessKeyId: LTAI5tJi2z8cegG8fTW7BSQu
aliyunAccessKeySecret: fnCI9LUcqLuH7D6nkhvSHQMob1JSm8
aliyunBucketName: weilaishitong
enable:
scheduled: true
news:
url: https://api.tushare.pro
apiName: news
src: eastmoney
token: f86299eb129c44545eb8ff53d64902353225652efe63cc4dc95f8936
fields: content,channels
swagger:
production: false
basic:
enable: true
username: admin
password: 123321
refinitiv:
market-data:
service-name: ELEKTRON_DD
username: GE-A-10288435-3-15856
password: 8EyCWDQ%XITcGRM@RhKokxX05FZJe1
clientId: 662b37b071144c9f8f2507d93037a019a010ae0e
batch-request-timeout: 60000