add export config
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
server:
|
||||
port: 8091
|
||||
|
||||
# Spring
|
||||
spring:
|
||||
profiles:
|
||||
active: prod
|
||||
mail: # 邮件配置
|
||||
host: smtp.qq.com
|
||||
username: imyeyu@qq.com
|
||||
password: saodifhaposjfoas
|
||||
redis: # Redis 数据库
|
||||
host: dev.vm.imyeyu.test
|
||||
port: 6379
|
||||
password:
|
||||
database:
|
||||
locker: 0 # ID: Integer 全局锁,ID 规范:应用:模块:业务:方法
|
||||
multilingual: 1 # ID: Multilingual 多语言缓存
|
||||
multilingual-map: 2 # Key: ID 多语言键缓存
|
||||
article-ranking: 3 # AID: ArticleRanking(JSON) 热门文章排位
|
||||
article-read: 4 # IP: [AID..] IP 阅读文章记录
|
||||
user-token: 5 # TOKEN: LONG 用户登录令牌
|
||||
user-exp-flag: 6 # UID: NULL 用户登录经验标记,暂时没有值,数据死亡时间为次日零时
|
||||
user-email-verify: 7 # AES_KEY: UID 邮箱验证密钥缓存
|
||||
user-reset-pw-verify: 8 # AES_KEY: UID 重置密码密钥缓存
|
||||
qps-limit: 9 # APP.IP.method: COUNT_IN_LIFE_CYCLE 接口访问频率控制(多个系统公用,需要 App 标记)
|
||||
setting: 10 # Setting: SettingValue 系统配置
|
||||
fmc-player-token: 11 # TOKEN: USER_ID|PLAYER_ID MC 登录缓存
|
||||
clipboard: 12 # ID: CONTENT 共享剪切板
|
||||
datasource: # 数据库配置
|
||||
timiserver:
|
||||
jdbc-url: jdbc:mysql://dev.vm.imyeyu.test:3306/timi_server?serverTimezone=UTC&characterEncoding=UTF-8
|
||||
username: root
|
||||
password: 123123
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
forevermc:
|
||||
jdbc-url: jdbc:mysql://dev.vm.imyeyu.test:3306/authme?serverTimezone=UTC&characterEncoding=UTF-8
|
||||
username: root
|
||||
password: 123123
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
gitea:
|
||||
jdbc-url: jdbc:mysql://dev.vm.imyeyu.test:3306/authme?serverTimezone=UTC&characterEncoding=UTF-8
|
||||
username: root
|
||||
password: 123123
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
data:
|
||||
mongodb:
|
||||
host: dev.vm.imyeyu.test
|
||||
port: 27017
|
||||
database: db
|
||||
username: root
|
||||
password: qweqwe123
|
||||
|
||||
# CORS 跨域
|
||||
cors:
|
||||
# 允许访问的客户端域名,如:http://web.xxx.com,* 表示不做任何限制(不做任何限制时 allow-credentials 无效)
|
||||
allow-origin:
|
||||
- "http://localhost:8080"
|
||||
Reference in New Issue
Block a user