1
0

feat:更新mysql

This commit is contained in:
okxlin
2024-01-05 11:35:54 +08:00
parent 029e8ae02b
commit 5cec8d5aa9
8 changed files with 8 additions and 11 deletions

View File

@@ -12,16 +12,14 @@ services:
ports:
- ${PANEL_APP_PORT_HTTP}:3306
volumes:
- ./data:/var/lib/mysql
- ./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:
--explicit-defaults-for-timestamp=1
--lower-case-table-names=1
--character-set-server=utf8mb4
--collation-server=utf8mb4_general_ci
--explicit_defaults_for_timestamp=true
--lower_case_table_names=1
labels:
createdBy: "Apps"
networks: