mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-25 03:18:48 +08:00
feat: MySQL 容器时间与宿主机同步 (#72)
This commit is contained in:
parent
295faa2fb9
commit
11409fceff
@ -15,6 +15,8 @@ services:
|
||||
- ./data/:/var/lib/mysql
|
||||
- ./conf/my.cnf:/etc/mysql/my.cnf
|
||||
- ./log:/var/log/mysql
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
command:
|
||||
--character-set-server=utf8mb4
|
||||
--collation-server=utf8mb4_general_ci
|
||||
|
@ -15,6 +15,8 @@ services:
|
||||
- ./data/:/var/lib/mysql
|
||||
- ./conf/my.cnf:/etc/my.cnf
|
||||
- ./log:/var/log/mysql
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
command:
|
||||
|
Loading…
Reference in New Issue
Block a user