mirror of
https://github.com/pooneyy/1Panel-Appstore.git
synced 2026-03-28 16:14:57 +08:00
feat: MySQL 容器时间与宿主机同步 (#72)
This commit is contained in:
parent
01c2abaa94
commit
f90db7c3b6
@ -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…
x
Reference in New Issue
Block a user