You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
server:
|
|
|
|
|
|
port: 8873
|
|
|
|
|
|
management:
|
|
|
|
|
|
endpoint:
|
|
|
|
|
|
health:
|
|
|
|
|
|
show-details: always
|
|
|
|
|
|
endpoints:
|
|
|
|
|
|
web:
|
|
|
|
|
|
exposure:
|
|
|
|
|
|
include: '*'
|
|
|
|
|
|
eureka:
|
|
|
|
|
|
instance:
|
|
|
|
|
|
prefer-ip-address: true
|
|
|
|
|
|
lease-renewal-interval-in-seconds: 10
|
|
|
|
|
|
health-check-url-path: /actuator/health
|
|
|
|
|
|
metadata-map:
|
|
|
|
|
|
startup: ${random.int}
|
|
|
|
|
|
user:
|
|
|
|
|
|
name: ${spring.security.user.name}
|
|
|
|
|
|
password: ${spring.security.user.password}
|
|
|
|
|
|
client:
|
|
|
|
|
|
registry-fetch-interval-seconds: 5
|
|
|
|
|
|
serviceUrl:
|
|
|
|
|
|
defaultZone: http://${spring.security.user.name}:${spring.security.user.password}@eureka.master.com:8761/eureka,http://${spring.security.user.name}:${spring.security.user.password}@eureka.slave.com:8762/eureka
|
|
|
|
|
|
spring:
|
|
|
|
|
|
application:
|
|
|
|
|
|
name: admin-client-appmqttserver
|
|
|
|
|
|
security:
|
|
|
|
|
|
user:
|
|
|
|
|
|
name: admin
|
|
|
|
|
|
password: Admin123456
|
|
|
|
|
|
boot:
|
|
|
|
|
|
admin:
|
|
|
|
|
|
client:
|
|
|
|
|
|
instance:
|
|
|
|
|
|
metadata:
|
|
|
|
|
|
user:
|
|
|
|
|
|
name: ${spring.security.user.name}
|
|
|
|
|
|
password: ${spring.security.user.password}
|
|
|
|
|
|
username: user
|
|
|
|
|
|
password: 123456
|
|
|
|
|
|
datasource:
|
|
|
|
|
|
type: com.zaxxer.hikari.HikariDataSource
|
|
|
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver #com.mysql.jdbc.Driver # 8.0 com.mysql.cj.jdbc.Driver
|
|
|
|
|
|
url: jdbc:mysql://127.0.0.1:3306/appserver?useUnicode=true&characterEncoding=utf-8&useSSL=false&autoReconnect=true
|
|
|
|
|
|
username: root
|
|
|
|
|
|
password: Skyinno251,
|
|
|
|
|
|
jpa:
|
|
|
|
|
|
database: mysql # 配置 DBMS 类型
|
|
|
|
|
|
show-sql: true # 配置是否将执行的 SQL 输出到日志
|
|
|
|
|
|
open-in-view: true
|
|
|
|
|
|
hibernate:
|
|
|
|
|
|
ddl-auto: update # 第一次建表create 后面用update,要不然每次重启都会新建表
|
|
|
|
|
|
servlet:
|
|
|
|
|
|
multipart:
|
|
|
|
|
|
# 开启 multipart 上传功能
|
|
|
|
|
|
enabled: true
|
|
|
|
|
|
# 文件写入磁盘的阈值
|
|
|
|
|
|
file-size-threshold: 2KB
|
|
|
|
|
|
# 最大文件大小
|
|
|
|
|
|
max-file-size: 200MB
|
|
|
|
|
|
# 最大请求大小
|
|
|
|
|
|
max-request-size: 215MB
|
|
|
|
|
|
logging:
|
|
|
|
|
|
level:
|
|
|
|
|
|
root: info
|
|
|
|
|
|
com.example: debug
|