fix: mysql 容器固定为 Asia/Shanghai 时区
This commit is contained in:
@@ -33,6 +33,9 @@ spec:
|
||||
key: mysql-root-password
|
||||
- name: MYSQL_DATABASE
|
||||
value: learning_progress_tracker
|
||||
# 固定时区:业务表按无时区 DATETIME 存储,避免 DB 侧默认时间(NOW/CURRENT_TIMESTAMP)落在 UTC
|
||||
- name: TZ
|
||||
value: Asia/Shanghai
|
||||
resources:
|
||||
requests:
|
||||
cpu: 250m
|
||||
|
||||
@@ -33,6 +33,9 @@ spec:
|
||||
key: mysql-root-password
|
||||
- name: MYSQL_DATABASE
|
||||
value: lpt_prod
|
||||
# 固定时区:业务表按无时区 DATETIME 存储,避免 DB 侧默认时间(NOW/CURRENT_TIMESTAMP)落在 UTC
|
||||
- name: TZ
|
||||
value: Asia/Shanghai
|
||||
resources:
|
||||
requests:
|
||||
cpu: 250m
|
||||
|
||||
Reference in New Issue
Block a user