chore: add cmd to show how to change charset and collation for mysql

Signed-off-by: Wing-Kam Wong <wingkwong.code@gmail.com>
This commit is contained in:
Wing-Kam Wong
2022-02-21 17:33:55 +08:00
parent 198dc532aa
commit a9481ddadb

View File

@@ -6,6 +6,9 @@ services:
volumes:
- db_data:/var/lib/mysql
- nc_data:/usr/app/data
# below line shows how to change charset and collation
# uncomment it if necessary
# command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
restart: always
environment:
MYSQL_ROOT_PASSWORD: password