mirror of
https://github.com/okxlin/appstore.git
synced 2025-07-13 21:02:18 +08:00
feat:更新mysql
This commit is contained in:
parent
4cb705ca07
commit
a758483f05
@ -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:
|
||||
|
@ -2,7 +2,7 @@ version: '3'
|
||||
|
||||
services:
|
||||
mysql:
|
||||
image: mysql:5.7.42
|
||||
image: mysql:5.7.44
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
environment:
|
@ -5,7 +5,7 @@ datadir=/var/lib/mysql
|
||||
socket=/var/run/mysqld/mysqld.sock
|
||||
secure-file-priv=/var/lib/mysql-files
|
||||
user=mysql
|
||||
|
||||
log_error_suppression_list='MY-013360'
|
||||
|
||||
character_set_server=utf8
|
||||
lower_case_table_names=1
|
@ -2,7 +2,7 @@ version: '3'
|
||||
|
||||
services:
|
||||
mysql:
|
||||
image: mysql:8.0.33
|
||||
image: mysql:8.2.0
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
environment:
|
||||
@ -21,7 +21,6 @@ services:
|
||||
createdBy: "Apps"
|
||||
command:
|
||||
- --default-authentication-plugin=mysql_native_password
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
@ -13,8 +13,8 @@ additionalProperties:
|
||||
shortDescEn: Open source relational database management system
|
||||
type: runtime
|
||||
crossVersionUpdate: false
|
||||
limit: 1
|
||||
recommend: 4
|
||||
limit: 0
|
||||
recommend: 0
|
||||
website: https://www.mysql.com
|
||||
github: https://github.com/mysql/mysql-server
|
||||
document: https://dev.mysql.com/doc/
|
||||
|
Loading…
Reference in New Issue
Block a user