mirror of
https://gitee.com/shuto-github/intranet_app_manager.git
synced 2026-08-11 00:00:11 +08:00
first commit
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
########################################################
|
||||
### Mysql
|
||||
########################################################
|
||||
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/app_manager
|
||||
spring.datasource.username=root
|
||||
spring.datasource.password=
|
||||
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
||||
|
||||
########################################################
|
||||
### Java Persistence Api
|
||||
########################################################
|
||||
# Specify the DBMS
|
||||
spring.jpa.database = MYSQL
|
||||
# Show or not log for each sql query
|
||||
spring.jpa.show-sql = true
|
||||
# Hibernate ddl auto (create, create-drop, update)
|
||||
spring.jpa.hibernate.ddl-auto = update
|
||||
|
||||
# Naming strategy
|
||||
spring.jpa.hibernate.naming-strategy = org.hibernate.cfg.ImprovedNamingStrategy
|
||||
spring.jpa.properties.hibernate.dialect= org.hibernate.dialect.MySQL5InnoDBDialect
|
||||
|
||||
############################################################
|
||||
#
|
||||
# 上传文件大小
|
||||
#
|
||||
############################################################
|
||||
spring.servlet.multipart.max-file-size=300MB
|
||||
spring.servlet.multipart.max-request-size=300MB
|
||||
############################################################
|
||||
#
|
||||
# ssl
|
||||
#
|
||||
############################################################
|
||||
server.ssl.key-store=classpath:server.pkcs12
|
||||
server.ssl.key-store-password=123456
|
||||
server.ssl.key-store-type=PKCS12
|
||||
server.ssl.key-alias=1
|
||||
|
||||
# 自定义配置
|
||||
server.port=443
|
||||
server.http.port=80
|
||||
config.debug=debug
|
||||
server.domain=192.168.0.108
|
||||
Reference in New Issue
Block a user