diff --git a/docs/getting-started/install/other/docker-compose.md b/docs/getting-started/install/other/docker-compose.md index dd466e6..d64983c 100644 --- a/docs/getting-started/install/other/docker-compose.md +++ b/docs/getting-started/install/other/docker-compose.md @@ -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: diff --git a/versioned_docs/version-1.5.4/getting-started/install/other/docker-compose.md b/versioned_docs/version-1.5.4/getting-started/install/other/docker-compose.md index dd466e6..d64983c 100644 --- a/versioned_docs/version-1.5.4/getting-started/install/other/docker-compose.md +++ b/versioned_docs/version-1.5.4/getting-started/install/other/docker-compose.md @@ -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: