From 8f78bd6862b82a54c21497f47d9df06abc4e6b21 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Sun, 27 Sep 2020 07:49:04 +0200 Subject: [PATCH] Make charset explicit --- app.ini.tmpl | 1 + compose.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app.ini.tmpl b/app.ini.tmpl index d23246f..ac62172 100644 --- a/app.ini.tmpl +++ b/app.ini.tmpl @@ -3,6 +3,7 @@ RUN_MODE = prod RUN_USER = git [database] +CHARSET = utf8mb4 DB_TYPE = {{ env "GITEA_DB_TYPE" }} HOST = {{ env "GITEA_DB_HOST" }} NAME = {{ env "GITEA_DB_NAME" }} diff --git a/compose.yml b/compose.yml index d41f1dd..47f1b14 100644 --- a/compose.yml +++ b/compose.yml @@ -78,7 +78,7 @@ networks: configs: app_ini: - name: gitea_app_ini_v2 + name: gitea_app_ini_v3 file: app.ini.tmpl template_driver: golang