mirror of
https://github.com/halo-dev/docs.git
synced 2026-02-02 02:02:06 +08:00
fix: docker-compose documentation about the mysql container configurations (#83)
Fixes halo-dev/halo#2257 see https://hub.docker.com/_/mysql /kind documentation ```release-note None ``` Signed-off-by: Ryan Wang <i@ryanc.cc>
This commit is contained in:
@@ -92,14 +92,14 @@ description: 使用 Docker Compose 部署 Halo
|
||||
restart: on-failure:3
|
||||
networks:
|
||||
halo_network:
|
||||
command: --default_authentication_plugin=mysql_native_password
|
||||
command: --default-authentication-plugin=mysql_native_password
|
||||
--character-set-server=utf8mb4
|
||||
--collation-server=utf8mb4_general_ci
|
||||
--explicit_defaults_for_timestamp=true
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- ./mysql:/var/lib/mysql
|
||||
- ./mysql/mysqlBackup:/data/mysqlBackup
|
||||
- ./mysqlBackup:/data/mysqlBackup
|
||||
ports:
|
||||
- "3306:3306"
|
||||
environment:
|
||||
@@ -151,14 +151,14 @@ description: 使用 Docker Compose 部署 Halo
|
||||
restart: on-failure:3
|
||||
networks:
|
||||
halo_network:
|
||||
command: --default_authentication_plugin=mysql_native_password
|
||||
command: --default-authentication-plugin=mysql_native_password
|
||||
--character-set-server=utf8mb4
|
||||
--collation-server=utf8mb4_general_ci
|
||||
--explicit_defaults_for_timestamp=true
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- ./mysql:/var/lib/mysql
|
||||
- ./mysql/mysqlBackup:/data/mysqlBackup
|
||||
- ./mysqlBackup:/data/mysqlBackup
|
||||
ports:
|
||||
- "3306:3306"
|
||||
environment:
|
||||
|
||||
@@ -92,14 +92,14 @@ description: 使用 Docker Compose 部署 Halo
|
||||
restart: on-failure:3
|
||||
networks:
|
||||
halo_network:
|
||||
command: --default_authentication_plugin=mysql_native_password
|
||||
command: --default-authentication-plugin=mysql_native_password
|
||||
--character-set-server=utf8mb4
|
||||
--collation-server=utf8mb4_general_ci
|
||||
--explicit_defaults_for_timestamp=true
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- ./mysql:/var/lib/mysql
|
||||
- ./mysql/mysqlBackup:/data/mysqlBackup
|
||||
- ./mysqlBackup:/data/mysqlBackup
|
||||
ports:
|
||||
- "3306:3306"
|
||||
environment:
|
||||
@@ -151,14 +151,14 @@ description: 使用 Docker Compose 部署 Halo
|
||||
restart: on-failure:3
|
||||
networks:
|
||||
halo_network:
|
||||
command: --default_authentication_plugin=mysql_native_password
|
||||
command: --default-authentication-plugin=mysql_native_password
|
||||
--character-set-server=utf8mb4
|
||||
--collation-server=utf8mb4_general_ci
|
||||
--explicit_defaults_for_timestamp=true
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- ./mysql:/var/lib/mysql
|
||||
- ./mysql/mysqlBackup:/data/mysqlBackup
|
||||
- ./mysqlBackup:/data/mysqlBackup
|
||||
ports:
|
||||
- "3306:3306"
|
||||
environment:
|
||||
|
||||
Reference in New Issue
Block a user