You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.6 KiB

server:
port: 5080 #服务端口
servlet:
context-path: /rbs-pay
#spring相关配置
spring:
application:
name: mcroservice-payment #服务名
datasource:
type: com.alibaba.druid.pool.DruidDataSource #当前数据源操作类型
driver-class-name: org.gjt.mm.mysql.Driver #数据库驱动包
url: jdbc:mysql://rm-uf672osw4deemr4yt.mysql.rds.aliyuncs.com:3306/rbs_erp?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false
username: hnrr
password: hnrr@0b6759c29a8e
#rabbitmq 配置
#rabbitmq:
#host: localhost
#port: 5672
#username: rbs-payment
#password: pay123123
# redis 配置
redis:
database: 10
# 地址
host: r-uf643kmbsoz7ledq2j.redis.rds.aliyuncs.com
# 端口,默认为6379
port: 6379
# 密码
password: rds@53798a0fa6ce
# 连接超时时间
timeout: 10s
lettuce:
pool:
# 连接池中的最小空闲连接
min-idle: 0
# 连接池中的最大空闲连接
# 连接池的最大数据库连接数
max-active: 8
# #连接池最大阻塞等待时间(使用负值表示没有限制)
max-wait: -1ms
servlet:
multipart :
max-request-size : 10MB
max-file-size : 10MB
#mybatis:配置
mybatis:
type-aliases-package: com.base.springcloud.dao #实体类包路径
mapper-locations: classpath*:com/base/payment/mapper/*.xml #mapper.xml路径
ftp:
ftp_ip: 192.168.71.132
ftp_prot : 21
ftp_username : wangying
ftp_password : 123456
ftp_basepath : /home/wangying
test_ftp:
file_path : G:\TestFile\