Ensure it overrides all locale related variables

LC_ALL, LANG and LANGUAGE are set to en_US.UTF-8 in the docker image.
The config should override all of them when other locale is needed.
Otherwise it fails to create a DB with the proper locale setting.
This commit is contained in:
YAEGASHI Takeshi 2020-05-16 23:39:15 +09:00 committed by Rafael dos Santos Silva
parent 79c49c19e1
commit a4b6986b5f
5 changed files with 10 additions and 0 deletions

View file

@ -21,7 +21,9 @@ params:
env:
# ensure locale exists in container, you may need to install it
LC_ALL: en_US.UTF-8
LANG: en_US.UTF-8
LANGUAGE: en_US.UTF-8
volumes:
- volume:

View file

@ -14,7 +14,9 @@ expose:
- "25:25" # SMTP
env:
LC_ALL: en_US.UTF-8
LANG: en_US.UTF-8
LANGUAGE: en_US.UTF-8
## Where e-mail to your forum should be sent. In general, it's perfectly fine
## to use the same domain as the forum itself here.

View file

@ -2,7 +2,9 @@ templates:
- "templates/redis.template.yml"
env:
LC_ALL: en_US.UTF-8
LANG: en_US.UTF-8
LANGUAGE: en_US.UTF-8
# any extra arguments for Docker?
# docker_args:

View file

@ -37,7 +37,9 @@ params:
#version: tests-passed
env:
LC_ALL: en_US.UTF-8
LANG: en_US.UTF-8
LANGUAGE: en_US.UTF-8
# DISCOURSE_DEFAULT_LOCALE: en
## How many concurrent web requests are supported? Depends on memory and CPU cores.

View file

@ -29,7 +29,9 @@ params:
#version: tests-passed
env:
LC_ALL: en_US.UTF-8
LANG: en_US.UTF-8
LANGUAGE: en_US.UTF-8
# DISCOURSE_DEFAULT_LOCALE: en
## How many concurrent web requests are supported? Depends on memory and CPU cores.