Add mariadb timezone setting via WORKSPACE_TIMEZONE in .env (#2197)

This commit is contained in:
anribras
2019-07-14 11:41:12 +08:00
committed by Shao Yu-Lung (Allen)
parent 8ae02d5d96
commit 6eaf587803
2 changed files with 8 additions and 0 deletions

View File

@ -407,6 +407,7 @@ services:
ports:
- "${MARIADB_PORT}:3306"
environment:
- TZ=${WORKSPACE_TIMEZONE}
- MYSQL_DATABASE=${MARIADB_DATABASE}
- MYSQL_USER=${MARIADB_USER}
- MYSQL_PASSWORD=${MARIADB_PASSWORD}