Skip to content

Commit 0142c29

Browse files
authored
Merge pull request #93 from pcmehrdad/main
fix for non latin languages in database
2 parents 16c5387 + e06513d commit 0142c29

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

templates/docker-compose.liquid

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ services:
3333
- {{name}}
3434
depends_on:
3535
- {{name}}DB
36-
36+
3737
{{name | downcase}}DB:
3838
container_name: {{name | downcase}}DB
3939
platform: linux/amd64 #for platform error on Apple M1 chips
@@ -51,7 +51,7 @@ services:
5151
{% else %}
5252
{%- if dbtype == "mysql" %}
5353
image: mysql:latest
54-
command: --default-authentication-plugin=mysql_native_password
54+
command: "--character-set-server=utf8mb4 --collation-server=utf8mb4_general_ci --default-authentication-plugin=mysql_native_password"
5555
{%- else%}
5656
image: mariadb:latest
5757
{%- endif %}
@@ -69,7 +69,7 @@ services:
6969
- '{{dbport}}:{{dbport}}'
7070
networks:
7171
- {{name | downcase}}
72-
72+
7373
{{name | downcase}}Adminer:
7474
container_name: {{name | downcase}}Adminer
7575
image: adminer

0 commit comments

Comments
 (0)