Skip to content

Commit

Permalink
Merge pull request #93 from pcmehrdad/main
Browse files Browse the repository at this point in the history
fix for non latin languages in database
  • Loading branch information
Eventyret authored Oct 23, 2023
2 parents 16c5387 + e06513d commit 0142c29
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/docker-compose.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ services:
- {{name}}
depends_on:
- {{name}}DB

{{name | downcase}}DB:
container_name: {{name | downcase}}DB
platform: linux/amd64 #for platform error on Apple M1 chips
Expand All @@ -51,7 +51,7 @@ services:
{% else %}
{%- if dbtype == "mysql" %}
image: mysql:latest
command: --default-authentication-plugin=mysql_native_password
command: "--character-set-server=utf8mb4 --collation-server=utf8mb4_general_ci --default-authentication-plugin=mysql_native_password"
{%- else%}
image: mariadb:latest
{%- endif %}
Expand All @@ -69,7 +69,7 @@ services:
- '{{dbport}}:{{dbport}}'
networks:
- {{name | downcase}}

{{name | downcase}}Adminer:
container_name: {{name | downcase}}Adminer
image: adminer
Expand Down

0 comments on commit 0142c29

Please sign in to comment.