Merge pull request #1016 from ardziej/patch-2

Added TZ environment for MySQL Container
This commit is contained in:
Mahmoud Zalt 2017-06-13 05:59:59 +03:00 committed by GitHub
commit ab464d93d3

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