]> git.parisson.com Git - telemeta.git/commitdiff
Setting utf8 database by default
authorAnas <AnasGhrab@users.noreply.github.com>
Thu, 17 May 2018 21:30:31 +0000 (22:30 +0100)
committerGitHub <noreply@github.com>
Thu, 17 May 2018 21:30:31 +0000 (22:30 +0100)
Necessary for utf-8 to work correctly, especially for search.

docker-compose.yml

index ef08141a612fde18e8bbe9152114a14d98a0d4ed..7c8cfc0de4e3dde9a7dfe2c706084159a31cd45e 100644 (file)
@@ -42,7 +42,8 @@ db:
     - data
   env_file:
     - env/prod.env
-
+  command: mysqld  --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
+  
 broker:
   image: redis