summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorCristian Livadaru <[email protected]>2021-07-20 06:42:28 +0200
committerGitHub <[email protected]>2021-07-19 21:42:28 -0700
commit4c927490463ce6540bcc07ce1123bb1d68d54c89 (patch)
tree749493d52c2665ccc6d20e15b9250f35100b4f76
parentbbeb2a874d9cdc874986acf0a785849cb4fa7abf (diff)
downloadcaprover-one-click-apps-4c927490463ce6540bcc07ce1123bb1d68d54c89.tar.gz
caprover-one-click-apps-4c927490463ce6540bcc07ce1123bb1d68d54c89.zip
change default database charset (#466)
utf8 delivers several issues with multiple sites (Invalid datetime format for example) The recommendation from wallabag is to use utf8mb4 as mentioned here: https://github.com/wallabag/wallabag/issues/5116 and here: https://github.com/wallabag/wallabag/issues/4764 The default setup of wallabag in caprover uses utf8, adding this env variable solves the issue even for existing installs.
-rw-r--r--public/v4/apps/wallabag.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/public/v4/apps/wallabag.yml b/public/v4/apps/wallabag.yml
index 662f413..cd8bdf4 100644
--- a/public/v4/apps/wallabag.yml
+++ b/public/v4/apps/wallabag.yml
@@ -16,6 +16,7 @@ services:
SYMFONY__ENV__DATABASE_PASSWORD: $$cap_mariadb-pass
SYMFONY__ENV__SECRET: $$cap_gen_random_hex(30)
SYMFONY__ENV__DOMAIN_NAME: https://$$cap_appname.$$cap_root_domain
+ SYMFONY__ENV__DATABASE_CHARSET: utf8mb4
volumes:
- $$cap_appname-images:/var/www/wallabag/web/assets/images
# MariaDB