Skip to content

Commit

Permalink
Update deployment-k8s.md (#1028)
Browse files Browse the repository at this point in the history
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
cxshun authored Jul 12, 2024
1 parent 6c90ae0 commit d0ca1e7
Showing 1 changed file with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d0ca1e7

Please sign in to comment.