55
66spring :
77 datasource :
8- url : jdbc:mysql://10.21.32.85:3307 /openblog?useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=UTC&characterEncoding=utf8&useUnicode=true
8+ url : jdbc:mysql://10.21.76.221:3306 /openblog?useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=UTC&characterEncoding=utf8&useUnicode=true
99 username : root
10- password : ${SPRING_DATASOURCE_PASSWORD:}
10+ password : 12345678aa
1111 jpa :
1212 database-platform : org.hibernate.dialect.MySQL8Dialect
1313 hibernate :
@@ -25,12 +25,12 @@ spring:
2525 # 阅读量滑动窗口、登录锁、文章正文缓存等;正文缓存读/写失败时自动仅走 MySQL。
2626 # 阅读量/站点访问的滑动窗口去重依赖 Redis;连不上时应用会降级为直接写 MySQL(无去重)。
2727 # 若 26739 连接失败,请检查:本机/服务器防火墙、云安全组、Redis 是否监听 0.0.0.0、地址与端口是否正确。
28- host : 10.21.32.85
29- port : 6379
28+ host : 10.21.76.221
29+ port : 6739
3030 # 若 Redis 设置了 requirepass,在此填写密码
3131 # password: your_redis_password
3232 timeout : 3s
33- password : ${SPRING_DATA_REDIS_PASSWORD:}
33+ password : 12345678aa
3434 thymeleaf :
3535 prefix : classpath:/templates/
3636 suffix : .html
@@ -81,7 +81,7 @@ openblog:
8181 failure-window-seconds : 300
8282 lockout-seconds : 900
8383 jwt :
84- secret : ${OPENBLOG_JWT_SECRET:}
84+ secret : openblog-jwt-secret-key-please-change-me-0123456789abcdef
8585 issuer : openblog
8686 access-token-expire-seconds : 7200
8787 refresh-token-expire-seconds : 2592000
@@ -94,7 +94,7 @@ openblog:
9494 thumb-long-edge : 320
9595 # 当 type=minio 时填写以下配置
9696 minio :
97- endpoint : " http://10.21.32.85 :9000"
98- access-key : ${OPENBLOG_STORAGE_MINIO_ACCESS_KEY:}
99- secret-key : ${OPENBLOG_STORAGE_MINIO_SECRET_KEY:}
97+ endpoint : " http://10.21.76.221 :9000"
98+ access-key : minio
99+ secret-key : admin123
100100 bucket : " openblog-document"
0 commit comments