mirror of https://gitee.com/stylefeng/guns
更新prod的配置
parent
5d1ad9b9a8
commit
8fb5b620f3
6
pom.xml
6
pom.xml
|
@ -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>
|
||||||
|
|
|
@ -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
|
Loading…
Reference in New Issue