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.
This commit is contained in:
parent
bbeb2a874d
commit
4c92749046
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue