feat: docker compsose mysql chinese gibberish
This commit is contained in:
parent
48b5c7df4b
commit
728c7d6ee5
|
@ -13,6 +13,12 @@ services:
|
||||||
MYSQL_PASSWORD: backset
|
MYSQL_PASSWORD: backset
|
||||||
MYSQL_ROOT_PASSWORD: root
|
MYSQL_ROOT_PASSWORD: root
|
||||||
MYSQL_TCP_PORT: 3307
|
MYSQL_TCP_PORT: 3307
|
||||||
|
TZ: Asia/Shanghai
|
||||||
|
LANG: C.UTF-8
|
||||||
|
command: [
|
||||||
|
'--character-set-server=utf8mb4',
|
||||||
|
'--collation-server=utf8mb4_general_ci'
|
||||||
|
]
|
||||||
volumes:
|
volumes:
|
||||||
- /www/wwwroot/backset/mysql/conf/my.cnf:/etc/mysql/conf.d/mysqld.cnf
|
- /www/wwwroot/backset/mysql/conf/my.cnf:/etc/mysql/conf.d/mysqld.cnf
|
||||||
- /www/wwwroot/backset/mysql/data:/var/lib/mysql
|
- /www/wwwroot/backset/mysql/data:/var/lib/mysql
|
||||||
|
|
Loading…
Reference in New Issue
Block a user