Skip to content

Commit

Permalink
Make the database use utf8mb4_unicode_ci instead of utf8mb4_bin as th…
Browse files Browse the repository at this point in the history
…is is not case-sensitive
  • Loading branch information
sharpchi committed Dec 20, 2021
1 parent e3c391c commit 9288252
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
MOODLE_DOCKER_DBUSER: ${DB_USER}
MOODLE_DOCKER_DBPASS: ${DB_PASSWORD}
MOODLE_DOCKER_BROWSER: firefox
MOODLE_DOCKER_DBCOLLATION: utf8mb4_bin
MOODLE_DOCKER_DBCOLLATION: utf8mb4_unicode_ci
MOODLE_DOCKER_WEB_HOST: ${PROJECT_BASE_URL}
MOODLE_DOCKER_WEB_PORT: 8000
APACHE_DOCUMENT_ROOT: ${APACHE_DOCUMENT_ROOT}
Expand All @@ -34,7 +34,7 @@ services:
stop_grace_period: 30s
command: >
--character-set-server=utf8mb4
--collation-server=utf8mb4_bin
--collation-server=utf8mb4_unicode_ci
--innodb_file_per_table=On
--innodb_buffer_pool_size=4096M
--innodb_log_file_size=2048M
Expand Down

0 comments on commit 9288252

Please sign in to comment.