Browse Source

add yuanqi config

master
winter 1 year ago
parent
commit
1f73d2fdb1
3 changed files with 335 additions and 0 deletions
  1. +116
    -0
      suimangAdmin/src/main/resources/application-yqzj.yml
  2. +109
    -0
      suimangCApi/src/main/resources/application-yqzj.yml
  3. +110
    -0
      suimangSchedule/src/main/resources/application-yqzj.yml

+ 116
- 0
suimangAdmin/src/main/resources/application-yqzj.yml View File

@@ -0,0 +1,116 @@
spring:
profiles:
include: aliyunRocketMQ
# JDBC
datasource:
url: jdbc:mysql://rm-2zelxn28n1kr4093q.mysql.rds.aliyuncs.com/matavatar?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=UTF-8&useSSL=false&useAffectedRows=true&allowMultiQueries=true
username: yqzjroot
password: yqzj@2023ABC
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
filters: stat
maxActive: 200
initialSize: 1
maxWait: 60000
minIdle: 1
timeBetweenEvictionRunsMillis: 28000
minEvictableIdleTimeMillis: 28000
validationQuery: select 'x'
testWhileIdle: true
testOnBorrow: false
testOnReturn: false
poolPreparedStatements: true
maxOpenPreparedStatements: 20
connectionProperties: "druid.stat.mergeSql=true;druid.stat.slowSqlMillis=60000"
# REDIS
redis:
host: r-2zeb1syt5wyw757yf4.redis.rds.aliyuncs.com
port: 6379
password: sm2023@rd
timeout: 3600
expire: 1800 #30分钟
database: 1
defaultExpiration: 2592000 # 默认生命周期30天
jedis:
pool:
max-active: 100
max-idle: 20
max-wait: -1
min-idle: 0
# SMS
aliyun:
sms:
accessKeyId: LTAI5tQs4MBjzLFbiQLjsMYy
accessKeySecret: nYmnexFJxrsBu0AGVIOSbUaSaweJu7
product: Dysmsapi
domain: dysmsapi.aliyuncs.com
regionId: cn-hangzhou
dateFormat: yyyyMMdd
endpointName: cn-hangzhou
oss:
endpoint: oss-cn-beijing.aliyuncs.com
keyid: LTAI5tQs4MBjzLFbiQLjsMYy
keysecret: nYmnexFJxrsBu0AGVIOSbUaSaweJu7
bucketname: yuanqizhijia
filehost: admin
filedomain: https://yuanqizhijia.oss-accelerate.aliyuncs.com
# EMAIL
mail:
host: smtp.exmail.qq.com
username: system@metavatar.com.cn
password: 2bKGhFaKKjhQFeka # 授权密码
properties:
mail:
smtp:
auth: true
starttls:
enable: true
socketFactory:
port: 465
class: javax.net.ssl.SSLSocketFactory
video:
aliyun:
accessKeyId:
accessKeySecret:
regionId: cn-beijing
endPoint: https://oss-cn-beijing.aliyuncs.com
corePoolSize: 6
maxPoolSize: 20
queueCapacity: 1000
namePrefix: aliyun-video-upload

fm:
exception: true
exception_emails: houtaikaifa@iformall.com
deploy: 3
open: true
upload_dir: /root/uploads/
ocr_data: /root/ocr_data/
videoType: aliyun

ueditor:
config: config.json
unified: true
upload-path: ./upload/
url-prefix: ""

logging:
level:
com.iformall.mapper: debug
path: ./logs/admin

suimang:
oral_broadcasting: x.x.x.x
callbackUrl: x.x.x.x
video_tts: x.x.x.x
huibo_tts_wav: x.x.x.x
photo_speak: x.x.x.x
photo_speak_hy: x.x.x.x
digital_avatar: x.x.x.x
digital_avatar_hy: x.x.x.x
local_deploy: true
token: x
sdk:
sm:
base-url: https://openapi8.metavatar.cc/public

+ 109
- 0
suimangCApi/src/main/resources/application-yqzj.yml View File

@@ -0,0 +1,109 @@
spring:
profiles:
include: aliyunRocketMQ
# JDBC
datasource:
url: jdbc:mysql://rm-2zelxn28n1kr4093q.mysql.rds.aliyuncs.com/matavatar?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=UTF-8&useSSL=false&useAffectedRows=true
username: yqzjroot
password: yqzj@2023ABC
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
filters: stat
maxActive: 200
initialSize: 1
maxWait: 60000
minIdle: 1
timeBetweenEvictionRunsMillis: 28000
minEvictableIdleTimeMillis: 28000
validationQuery: select 'x'
testWhileIdle: true
testOnBorrow: false
testOnReturn: false
poolPreparedStatements: true
maxOpenPreparedStatements: 20
# REDIS
redis:
host: r-2zeb1syt5wyw757yf4.redis.rds.aliyuncs.com
port: 6379
password: sm2023@rd
timeout: 3600
expire: 1800 #30分钟
database: 1
defaultExpiration: 2592000 # 默认生命周期30天
jedis:
pool:
max-active: 100
max-idle: 100
max-wait: -1
min-idle: 10
# SMS
aliyun:
sms:
accessKeyId: LTAI5tQs4MBjzLFbiQLjsMYy
accessKeySecret: nYmnexFJxrsBu0AGVIOSbUaSaweJu7
product: Dysmsapi
domain: dysmsapi.aliyuncs.com
regionId: cn-hangzhou
dateFormat: yyyyMMdd
endpointName: cn-hangzhou
oss:
endpoint: oss-cn-beijing.aliyuncs.com
keyid: LTAI5tQs4MBjzLFbiQLjsMYy
keysecret: nYmnexFJxrsBu0AGVIOSbUaSaweJu7
bucketname: yuanqizhijia
filehost: capi
filedomain: https://yuanqizhijia.oss-accelerate.aliyuncs.com
# EMAIL
mail:
host: smtp.exmail.qq.com
username: system@metavatar.com.cn
password: 2bKGhFaKKjhQFeka # 授权密码
properties:
mail:
smtp:
auth: true
starttls:
enable: true
socketFactory:
port: 465
class: javax.net.ssl.SSLSocketFactory
video:
aliyun:
accessKeyId: LTAI5tQs4MBjzLFbiQLjsMYy
accessKeySecret: nYmnexFJxrsBu0AGVIOSbUaSaweJu7
regionId: cn-beijing
endPoint: https://oss-cn-beijing.aliyuncs.com
corePoolSize: 6
maxPoolSize: 20
queueCapacity: 1000
namePrefix: aliyun-video-upload

fm:
exception: true
exception_emails: houtaikaifa@iformall.com
deploy: 3
open: true
upload_dir: /root/uploads/
ocr_data: /root/ocr_data/
videoType: aliyun

logging:
level:
com.iformall: debug
path: ./logs/c

suimang:
oral_broadcasting: x.x.x.x
callbackUrl: x.x.x.x
video_tts: x.x.x.x
huibo_tts_wav: x.x.x.x
photo_speak: x.x.x.x
photo_speak_hy: x.x.x.x
digital_avatar: x.x.x.x
digital_avatar_hy: x.x.x.x
local_deploy: true
token: x
sdk:
sm:
base-url: https://openapi8.metavatar.cc/public

+ 110
- 0
suimangSchedule/src/main/resources/application-yqzj.yml View File

@@ -0,0 +1,110 @@
spring:
profiles:
include: aliyunRocketMQ
# JDBC
datasource:
url: jdbc:mysql://rm-2zelxn28n1kr4093q.mysql.rds.aliyuncs.com/matavatar?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=UTF-8&useSSL=false&useAffectedRows=true
username: yqzjroot
password: yqzj@2023ABC
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
filters: stat
maxActive: 200
initialSize: 1
maxWait: 60000
minIdle: 1
timeBetweenEvictionRunsMillis: 28000
minEvictableIdleTimeMillis: 28000
validationQuery: select 'x'
testWhileIdle: true
testOnBorrow: false
testOnReturn: false
poolPreparedStatements: true
maxOpenPreparedStatements: 20
connectionProperties: "druid.stat.mergeSql=true;druid.stat.slowSqlMillis=6000"
# REDIS
redis:
host: r-2zeb1syt5wyw757yf4.redis.rds.aliyuncs.com
port: 6379
password: sm2023@rd
timeout: 3600
expire: 1800 #30分钟
database: 1
defaultExpiration: 2592000 # 默认生命周期30天
jedis:
pool:
max-active: 8
max-idle: 8
max-wait: -1
min-idle: 0
# SMS
aliyun:
sms:
accessKeyId: LTAI5tQs4MBjzLFbiQLjsMYy
accessKeySecret: nYmnexFJxrsBu0AGVIOSbUaSaweJu7
product: Dysmsapi
domain: dysmsapi.aliyuncs.com
regionId: cn-hangzhou
dateFormat: yyyyMMdd
endpointName: cn-hangzhou
oss:
endpoint: oss-cn-beijing.aliyuncs.com
keyid: LTAI5tQs4MBjzLFbiQLjsMYy
keysecret: nYmnexFJxrsBu0AGVIOSbUaSaweJu7
bucketname: yuanqizhijia
filehost: schedule
filedomain: https://suimang.oss-accelerate.aliyuncs.com
# EMAIL
mail:
host: smtp.exmail.qq.com
username: system@metavatar.com.cn
password: 2bKGhFaKKjhQFeka # 授权密码
properties:
mail:
smtp:
auth: true
starttls:
enable: true
socketFactory:
port: 465
class: javax.net.ssl.SSLSocketFactory
video:
aliyun:
accessKeyId: LTAI5tQs4MBjzLFbiQLjsMYy
accessKeySecret: nYmnexFJxrsBu0AGVIOSbUaSaweJu7
regionId: cn-beijing
endPoint: https://oss-cn-beijing.aliyuncs.com
corePoolSize: 6
maxPoolSize: 20
queueCapacity: 1000
namePrefix: aliyun-video-upload

fm:
exception: true
exception_emails: houtaikaifa@iformall.com
deploy: 3
open: true
upload_dir: /root/uploads/
monitor_emails: houtaikaifa@iformall.com,xiaochengxufabu@iformall.com
monitor_enable: false
clear_data_before_msg_record: 1
videoType: aliyun

logging:
level:
#tk.mybatis: debug
com.iformall: debug
path: ./logs/s


suimang:
oral_broadcasting: x.x.x.x
callbackUrl: x.x.x.x
video_tts: x.x.x.x
huibo_tts_wav: x.x.x.x
photo_speak: x.x.x.x
photo_speak_hy: x.x.x.x
digital_avatar: x.x.x.x
digital_avatar_hy: x.x.x.x
local_deploy: true
token: x

Loading…
Cancel
Save