0 Star 0 Fork 46

鹏大 / fire_control_config_example

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
dict-demo.yml 1007 Bytes
一键复制 编辑 原始数据 按行查看 历史
鹏大 提交于 2020-12-03 10:26 . 修改为生产配置
spring:
application:
name: turing-dict
datasource:
url: jdbc:mysql://172.16.16.3:3306/turing_auth?useUnicode=true&characterEncoding=UTF8
druid:
stat-view-servlet:
loginUsername: root
loginPassword: 123456
thymeleaf:
mode: LEGACYHTML5
cache: false
mapper:
mappers: cn.turing.firecontrol.common.mapper.CommonMapper
mybatis:
basepackage: cn.turing.firecontrol.dict.mapper
xmlLocation: classpath:mapper/**/*.xml
mapper-locations: "classpath*:mapper/*.xml"
server:
port: 9877 #启动端口
auth:
serviceId: turing-auth
user:
token-header: Authorization
limit-expire: 1440 #1天
client:
token-header: client-token
id: turing-dict #不填则默认读取spring.application.name
secret: 123456
# 配置swagger
swagger:
enabled: true
base-package: cn.turing.firecontrol.gate
title: turing-dict
version: 1.0.0.SNAPSHOT
description: 字典服务
contact:
name: gate
1
https://gitee.com/greenhandpeng/fire_control_config_example.git
git@gitee.com:greenhandpeng/fire_control_config_example.git
greenhandpeng
fire_control_config_example
fire_control_config_example
master

搜索帮助