-
Notifications
You must be signed in to change notification settings - Fork 223
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Add hikari config 2. Fix mail config error, without it, k8s admin service will start with error - saying No Bean JavaMailSender
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -547,6 +547,30 @@ data: | |
username: {your_mysql_user} | ||
password: {your_mysql_password} | ||
driver-class-name: com.mysql.jdbc.Driver | ||
hikari: | ||
connection-timeout: 30000 | ||
minimum-idle: 5 | ||
maximum-pool-size: 20 | ||
auto-commit: true | ||
idle-timeout: 600000 | ||
max-lifetime: 1800000 | ||
connection-test-query: SELECT 1 | ||
connection-init-sql: SET NAMES utf8mb4 | ||
validation-timeout: 800 | ||
mail: | ||
# Attention: this is mail server address. | ||
host: smtp.qq.com | ||
username: [email protected] | ||
# Attention: this is not email account password, this requires an email authorization code | ||
password: your-password | ||
#Attention: Tencent mail smtps 465,smtp 587 | ||
port: 587 | ||
properties: | ||
mail: | ||
smtp: | ||
socketFactoryClass: javax.net.ssl.SSLSocketFactory | ||
ssl: | ||
enable: true | ||
shenyu-bootstrap-application.yml: | | ||
server: | ||
port: 9195 | ||
|