ES操作测试通过
This commit is contained in:
36
src/main/resources/application-dev.yml
Normal file
36
src/main/resources/application-dev.yml
Normal file
@@ -0,0 +1,36 @@
|
||||
#开发环境配置文件
|
||||
server:
|
||||
servlet:
|
||||
context-path: /fileupload
|
||||
port: 8080
|
||||
serverproperties:
|
||||
portNum: 8080
|
||||
filePath: F:\JAVA Workspace\Temp\
|
||||
spring:
|
||||
thymeleaf:
|
||||
prefix: classpath:/templates/
|
||||
cache: false
|
||||
check-template: true
|
||||
|
||||
servlet:
|
||||
multipart:
|
||||
max-file-size: 100Mb
|
||||
max-request-size: 100Mb
|
||||
datasource:
|
||||
driver-class-name: com.mysql.jdbc.Driver
|
||||
url: jdbc:mysql://localhost:3306/db_sysdemo1?useUnicode=true&characterEncoding=utf-8&useSSL=true
|
||||
username: trs
|
||||
password: fileupload
|
||||
jpa:
|
||||
hibernate:
|
||||
ddl-auto: update
|
||||
show-sql: true
|
||||
data:
|
||||
elasticsearch:
|
||||
cluster-name: Fjiayang
|
||||
cluster-nodes: 127.0.0.1:9300
|
||||
|
||||
|
||||
#resources:
|
||||
# static-locations: classpath:/templates/
|
||||
debug: true
|
||||
3
src/main/resources/application.yml
Normal file
3
src/main/resources/application.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
spring:
|
||||
profiles:
|
||||
active: dev
|
||||
Reference in New Issue
Block a user