Skip to content

Commit

Permalink
feat: 添加 TIME_ZONE
Browse files Browse the repository at this point in the history
  • Loading branch information
wojiushixiaobai committed Jul 24, 2024
1 parent 4482adf commit e0a861e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions allinone/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ services:
privileged: true
restart: always
environment:
TIME_ZONE: ${TZ:-Asia/Shanghai}
TZ: ${TZ:-Asia/Shanghai}
SECRET_KEY: ${SECRET_KEY:-vYneAbsXUhe4BghEeedNL7nfWLwaTTmhnwQMvjYOIG25Ofzghk}
BOOTSTRAP_TOKEN: ${BOOTSTRAP_TOKEN:-K1ffDfLSIK8SV2PZj6VaxOiv8KuawlJK}
Expand Down
1 change: 1 addition & 0 deletions config_example.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ VOLUME_DIR=/opt/jumpserver

# 时区
TZ=Asia/Shanghai
TIME_ZONE=Asia/Shanghai

# DB, 支持 MySQL, PostgreSQL
DB_ENGINE=mysql
Expand Down

0 comments on commit e0a861e

Please sign in to comment.