Files
SOP/sop-admin/sop-admin-server/src/main/resources/application-dev.properties
tanghc ef28db6a1d Merge branch 'master' into registry-nacos
# Conflicts:
#	sop-gateway/src/main/resources/application-dev.properties
2019-07-19 10:14:32 +08:00

53 lines
1.6 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.

server.port=8082
spring.application.name=sop-admin
# ------- 需要改的配置 -------
# mysql数据库账号
mysql.username=root
mysql.password=root
# eureka注册中心地址
eureka.url=http://localhost:1111/eureka/
# nacos注册中心地址
nacos.url=127.0.0.1:8848
# zookeeper地址
zookeeper.url=localhost:2181
# zipkin服务监控地址没有开启不用改
zipkin.url=http://127.0.0.1:9411/
# ------- 需要改的配置end -------
# token过期时间分钟
admin.access-token.timeout-minutes=30
# 签名方式rsa支付宝开放平台签名方式md5淘宝开放平台签名方式
sop.sign-type=rsa
# zookeeper配置
spring.cloud.zookeeper.connect-string=${zookeeper.url}
spring.cloud.zookeeper.baseSleepTimeMs=3000
spring.cloud.zookeeper.maxRetries=3
# 数据库配置
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.datasource.url=jdbc:mysql://localhost:3306/sop?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull
spring.datasource.username=${mysql.username}
spring.datasource.password=${mysql.password}
# 固定不用改
easyopen.show-doc=false
easyopen.ignore-validate=true
# 注册中心地址,根据实际情况改,这里只是参数,并不会去注册
registry.eureka-server-addr=${eureka.url}
registry.nacos-server-addr=${nacos.url}
# 使用eurekaeureka使用nacos填nacos
registry.name=nacos
logging.level.com.gitee=debug
# 不用改
mybatis.fill.com.gitee.fastmybatis.core.support.DateFillInsert=gmt_create
mybatis.fill.com.gitee.fastmybatis.core.support.DateFillUpdate=gmt_modified
# 不用改,如果要改,请全局替换修改
zuul.secret=MZZOUSTua6LzApIWXCwEgbBmxSzpzC