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.
 
 
 
 
 

66 lines
1.4 KiB

#
spring:
cloud:
consul:
host: 127.0.0.1
port: 8500
discovery:
service-name: ${spring.application.name}-server
prefer-ip-address: true
ip-address: 127.0.0.1
application:
name: entry-msg
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/entry_cms?useSSL=false&useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
username: root
password: root
redis:
jedis:
pool:
max-active: 300
max-idle: 100
min-idle: 8
timeout: 20000ms
database: 13
host: 127.0.0.1
port: 6379
password: Redis2020com
jpa:
open-in-view: false
show-sql: true
hibernate:
naming:
physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
mvc:
static-path-pattern: /static/**
servlet:
multipart:
max-file-size: 10MB
max-request-size: 10MB
thymeleaf:
cache: false
mode: HTML5
prefix: file:/home/java/entry/cms/static/
servlet:
content-type: text/html
suffix: .html
encoding: UTF-8
resources:
static-locations: file:/home/java/entry/cms/static/
server:
port: 9006
jove:
session:
strategy: TOKEN_STRATEGY
timeout: 43200
editor:
ueditor:
rootPath: /home/java/entry/cms/static/upload
#配置