refactor(all): change sql to postgresql
This commit is contained in:
@@ -1,36 +1,45 @@
|
||||
server:
|
||||
# port: 8080
|
||||
port: 8443
|
||||
ssl:
|
||||
key-store: classpath:merlin.xin.pfx
|
||||
key-store-password: 7p7vcfmu
|
||||
key-store-type: PKCS12
|
||||
address: 0.0.0.0
|
||||
port: 8080
|
||||
# port: 8443
|
||||
# ssl:
|
||||
# key-store: classpath:merlin.xin.pfx
|
||||
# key-store-password: 7p7vcfmu
|
||||
# key-store-type: PKCS12
|
||||
# address: 0.0.0.0
|
||||
|
||||
jwt:
|
||||
secret: CkmEXxVBNBsMUo4VNhDcH0YBhA1O4zSkQgSM243YzDY=
|
||||
issuer: blogAdmin
|
||||
subject: Interesting
|
||||
expire: 604800
|
||||
salt: sdjhjksdzkfhjkdzs
|
||||
|
||||
file:
|
||||
# image-dir: C:/uploads/images #图片储存目录
|
||||
# avatar-dir: C:/uploads/avatars # 头像存储目录(Windows 环境)
|
||||
image-dir: C:/Temp/uploads/images #图片储存目录
|
||||
avatar-dir: C:/Temp/uploads/avatars # 头像存储目录(Windows 环境)
|
||||
|
||||
avatar-dir: /home/blog/uploads/avatars # 头像储存目录(Linux 环境)
|
||||
image-dir: /home/blog/uploads/image
|
||||
# avatar-dir: /home/blog/uploads/avatars # 头像储存目录(Linux 环境)
|
||||
# image-dir: /home/blog/uploads/image
|
||||
|
||||
spring:
|
||||
servlet:
|
||||
multipart:
|
||||
max-file-size: 50MB
|
||||
datasource:
|
||||
url: jdbc:mysql://8.138.214.149:3306/blog
|
||||
driver-class-name: org.postgresql.Driver
|
||||
url: jdbc:postgresql://localhost:5432/Blog
|
||||
username: Merlin
|
||||
password: 123456
|
||||
|
||||
jackson:
|
||||
time-zone: Asia/Shanghai
|
||||
date-format: yyyy-MM-dd HH:mm:ss
|
||||
# url: jdbc:mysql://8.138.214.149:3306/blog
|
||||
# username: root
|
||||
# password: 3604162
|
||||
username: root
|
||||
password: server2025_xyf_Merlin
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
# username: root
|
||||
# password: server2025_xyf_Merlin
|
||||
# driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
|
||||
|
||||
mail:
|
||||
@@ -60,7 +69,7 @@ mybatis-plus:
|
||||
id-type: auto # 主键策略
|
||||
configuration:
|
||||
map-underscore-to-camel-case: false # 禁用驼峰命名自动映射
|
||||
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 控制台打印 SQL(调试用)
|
||||
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 控制台打印 SQL(调试用)
|
||||
logging:
|
||||
level:
|
||||
org:
|
||||
|
||||
Reference in New Issue
Block a user