更新prod的配置

pull/64/head
fengshuonan 2021-01-16 21:14:46 +08:00
parent 5d1ad9b9a8
commit 8fb5b620f3
2 changed files with 21 additions and 0 deletions

View File

@ -230,6 +230,12 @@
<spring.active>dev</spring.active> <spring.active>dev</spring.active>
</properties> </properties>
</profile> </profile>
<profile>
<id>prod</id>
<properties>
<spring.active>prod</spring.active>
</properties>
</profile>
</profiles> </profiles>
</project> </project>

View File

@ -0,0 +1,15 @@
server:
port: 8088
max-http-header-size: 10240
# Mysql数据库
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/guns_beetl_dev?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT
username: root
password: sksTykzfZeMFbwJf
# 连接池大小根据实际情况调整
max-active: 100
max-pool-prepared-statement-per-connection-size: 100