car-park/cf-chat/cf-chat-dao/target/classes/application.yml

30 lines
887 B
YAML
Raw Permalink Normal View History

2020-06-18 14:39:34 +08:00
#默认使用配置
spring:
profiles:
active: dev
datasource:
name: caifeng
type: com.alibaba.druid.pool.DruidDataSource
url: jdbc:mysql://139.9.155.149:3306/caifeng?characterEncoding=utf-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC
username: caifeng
password: pNrApiSx5Ti2iPNF
driver-class-name: com.mysql.jdbc.Driver
data:
mongodb:
uri: mongodb://caifeng:caifEng666@139.9.155.149:27017/?authSource=caifeng
database: caifeng
# redis:
# host: 139.9.155.149
# port: 6379
# pass:
# database: 0
# maxIdle: 300
# maxWait: 3000
# testOnBorrow: true
#公共配置与profiles选择无关
mybatis:
# mapperScanPackage: com.cf.mapper
# typeAliasesPackage: com.cf.pojo
mapperLocations: classpath:com.cf.chat.dao.mapper/*.xml
configLocation: classpath:config/SqlMapConfig.xml