Skip to content

Commit 78a3214

Browse files
committed
chore: set mysql default timezone to TZ/SHANGHAI in docker-compose.yaml
1 parent dcea269 commit 78a3214

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

docker-compose.stable.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ services:
99
MYSQL_DATABASE: chatnio
1010
MYSQL_USER: chatnio
1111
MYSQL_PASSWORD: chatnio123456!
12+
TZ: Asia/Shanghai
1213
expose:
1314
- "3306"
1415
volumes:

docker-compose.watch.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ services:
99
MYSQL_DATABASE: chatnio
1010
MYSQL_USER: chatnio
1111
MYSQL_PASSWORD: chatnio123456!
12+
TZ: Asia/Shanghai
1213
expose:
1314
- "3306"
1415
volumes:

docker-compose.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ services:
99
MYSQL_DATABASE: chatnio
1010
MYSQL_USER: chatnio
1111
MYSQL_PASSWORD: chatnio123456!
12+
TZ: Asia/Shanghai
1213
expose:
1314
- "3306"
1415
volumes:

0 commit comments

Comments
 (0)