express/src/main/resources/application.properties

86 lines
2.4 KiB
Properties
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 应用名称
spring.application.name=express
management.endpoints.jmx.exposure.include=*
management.endpoints.web.exposure.include=*
management.endpoint.health.show-details=always
# spring cloud access&secret config
# 可以访问如下地址查看: https://usercenter.console.aliyun.com/#/manage/ak
alibaba.cloud.access-key=****
alibaba.cloud.secret-key=****
# 应用服务 WEB 访问端口
server.port=8083
server.servlet.context-path=/api
logging.level.root=error
# Actuator Web 访问端口
management.server.port=8081
mybatis.mapper-locations=classpath:mapper/*Mapper.xml
mybatis.type-aliases-package=live.tomey.api.express.dao
#配置文件传输
spring.servlet.multipart.maxFileSize=100MB
spring.servlet.multipart.maxRequestSize=200MB
# 数据库dataSource
jdbc.driver=8zQIdS8RzOBmd4qRctgYdYM/fdvrjnIJHyQH1bD/jNs=
#服务器本地127.0.0.1
jdbc.urlA=xW6OiZLo8/kYFd+0f9nXNXXZg17CJWnfoV5JrAnJaOAhvoLVW/PHqSV0jFnpOIVAxA0arcvd8KTK5pmV8Pi3bPJxQoH6zwkUve3efptPE0f+GUBKpacl+rFIuiDIGGARWhD3wSn+1Q8t+jGw15GlDz/ASsSv8SiOXSlZnsWSVKIbTqDgaMM1VA==
#azure
jdbc.url=jdbc:mysql://40.83.126.15:3306/mall?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true
#服务器ip
jdbc.username=mall
jdbc.password=dr4ap4dbnyCMZTcr
# Mybatis
mybatis_config_file=mybatis-config.xml
mapper_path=/mapper/**.xml
typealias_package=live.tomey.api.express.entity
#Redis配置
redis.hostname=34.92.103.14
redis.port=6379
redis.pool.maxActive=100
redis.pool.maxIdle=20
redis.pool.maxWait=3000
redis.pool.testOnBorrow=true
redis.password=926425
redis.timeout=20000
#Path管理
win.base.path=E:/Work/springbootpackage/projectdev/
linux.base.path=/www/wwwroot/o2oimage/
article.relevant.path=/upload/images/item/article/
article.protection.path=/protection/images/item/article/
headline.relevant.path=/upload/images/item/headtitle/
shopcategory.relevant.path=/upload/images/item/shopcategory/
#文件域名管理
file.url = http://file.afterglow.fun
#ftp配置
ftp.service.address=34.92.131.32
ftp.service.post=21
ftp.service.username=o2obootftp
ftp.service.password=mWRPccbzBP32wWwG
ftp.service.encoding=UTF-8
#jwt配置
# 代表这个JWT的接收对象,存入audience
audience.clientId: 098f6bcd4621d373cade4e832627b4f6
# 密钥, 经过Base64加密, 可自行替换
audience.base64Secret: MDk4ZjZiY2Q0NjIxZDM3M2NhZGU0ZTgzMjYyN2I0ZjY=
# JWT的签发主体存入issuer
audience.name: restapiuser
# 过期时间,时间戳
audience.expiresSecond: 172800