提交 3721cd85 编写于 作者: 智布道's avatar 智布道 👁

🔧 修改配置文件,删除 application-center-dev.yml

上级 cecbd853
spring:
profiles:
include: [center]
####### database Config #######
datasource:
druid:
connection-init-sqls: set names utf8mb4
driver-class-name: com.mysql.jdbc.Driver
type: com.alibaba.druid.pool.DruidDataSource
url: jdbc:mysql://${ONEBLOG_DATASOURCE_HOST:127.0.0.1}:${ONEBLOG_DATASOURCE_PORT:3306}/${ONEBLOG_DATASOURCE_DATABASE_NAME:dblog}?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=false&allowPublicKeyRetrieval=true
username: ${ONEBLOG_DATASOURCE_USERNAME:root}
password: ${ONEBLOG_DATASOURCE_PASSWORD:root}
####### Redis Config #######
redis:
database: ${ONEBLOG_REDIS_DATABASE_INDEX:1}
# Redis服务器地址
host: ${ONEBLOG_REDIS_HOST:127.0.0.1}
# Redis服务器连接端口
port: ${ONEBLOG_REDIS_PORT:6379}
# Redis服务器连接密码(默认为空)
password: ${ONEBLOG_REDIS_PASSWORD:123456ZHYD}
####### redis缓存服务配置 #######
session:
store-type: redis
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册