1 Star 0 Fork 46

杨远林 / fire_control_config_example

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
admin-demo.yml 1.69 KB
一键复制 编辑 原始数据 按行查看 历史
杨远林 提交于 2021-02-03 17:28 . update admin-demo.yml.
logging:
level:
tk.mybatis: DEBUG
cn.turing.firecontrol.admin: DEBUG
spring:
application:
name: turing-admin
datasource:
url: jdbc:mysql://192.168.29.137:3306/turing-admin?useUnicode=true&characterEncoding=UTF8
druid:
stat-view-servlet:
loginUsername: root
loginPassword: 123456
redis:
pool:
maxActive: 300
maxIdle: 100
maxWait: 1000
host: 192.168.29.137
port: 6379
password: root
timeout: 2000
# 服务或应用名
sysName: turing-admin
enable: true
database: 0
mybatis:
basepackage: cn.turing.firecontrol.admin.mapper
xmlLocation: classpath:mapper/**/*.xml
mapper-locations: 'classpath:mapper/*.xml'
server:
port: 8762
#配置swagger
swagger:
enabled: true
base-package: cn.turing.firecontrol.admin
title: Admin Back
version: 1.0.0.SNAPSHOT
description: Admin Back后端服务
contact:
name: 老A
auth:
serviceId: turing-auth
user:
token-header: Authorization
limit-expire: 1440 # 单位:分钟
client:
id: turing-admin
secret: 123456
token-header: client-token
#redis-cache 相关
redis:
pool:
maxActive: 300
maxIdle: 100
maxWait: 1000
host: 192.168.29.137
port: 6379
password:
timeout: 2000
# 服务或应用名
sysName: turing-admin
enable: true
database: 0
# 跨服务数据合并
merge:
enabled: true
guavaCacheNumMaxSize: 1000
guavaCacheRefreshWriteTime: 10 # min
guavaCacheRefreshThreadPoolSize: 10
aop:
enabled: true
mapper:
mappers: cn.turing.firecontrol.common.mapper.CommonMapper
1
https://gitee.com/yangyuanlin/fire_control_config_example.git
git@gitee.com:yangyuanlin/fire_control_config_example.git
yangyuanlin
fire_control_config_example
fire_control_config_example
master

搜索帮助