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>
JohnNiang-patch-1
Ryan Wang 3 years ago committed by GitHub
parent 331c29b3af
commit 3f900d0826
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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:

Loading…
Cancel
Save