Files
SOP/sop-admin/sop-admin-server/src/main/resources/application-dev.yml
2019-06-18 17:57:32 +08:00

54 lines
1.1 KiB
YAML
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
# token过期时间分钟
admin:
access-token:
timeout-minutes: 30
# 不用改
spring:
application:
name: sop-admin
cloud:
zookeeper:
connect-string: localhost:2181
baseSleepTimeMs: 3000
maxRetries: 3
# 数据源
datasource:
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://localhost:3306/sop?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull
username: root
password: root
# 固定不用改
easyopen:
show-doc: true
ignore-validate: true
# 注册中心地址,根据实际情况改,这里只是参数,并不会去注册
eureka:
port: 1111
host: localhost
client:
serviceUrl:
defaultZone: http://${eureka.host}:${eureka.port}/eureka/
# 根据实际情况改
logging:
level:
com:
gitee: debug
# 不用改
mybatis:
fill: {com.gitee.fastmybatis.core.support.DateFillInsert: gmt_create,
com.gitee.fastmybatis.core.support.DateFillUpdate: gmt_modified}
# 不用改,如果要改,请全局替换修改
zuul:
secret: MZZOUSTua6LzApIWXCwEgbBmxSzpzC