Added TZ environment for MySQL Container

This commit is contained in:
Michal Ardziejewski 2017-06-13 01:03:42 +02:00 committed by GitHub
parent 9db39ad36f
commit e56587ec47
1 changed files with 1 additions and 0 deletions

View File

@ -197,6 +197,7 @@ services:
- MYSQL_USER=${MYSQL_USER} - MYSQL_USER=${MYSQL_USER}
- MYSQL_PASSWORD=${MYSQL_PASSWORD} - MYSQL_PASSWORD=${MYSQL_PASSWORD}
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD} - MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
- TZ=${WORKSPACE_TIMEZONE}
volumes: volumes:
- ${DATA_SAVE_PATH}/mysql:/var/lib/mysql - ${DATA_SAVE_PATH}/mysql:/var/lib/mysql
- ./mysql/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d - ./mysql/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d