mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-12-06 01:40:19 +00:00
fix(discourse): force C.UTF-8 locale to prevent Ruby US-ASCII crashes
https://chatgpt.com/share/6975155f-76e8-800f-999e-a8ee3b24236c
This commit is contained in:
2 files changed
+8
-4
No files matched your search
@@ -31,9 +31,9 @@ params:
|
||||
#version: tests-passed
|
||||
|
||||
env:
|
||||
LC_ALL: "{{ HOST_LL_CC }}.UTF-8"
|
||||
LANG: "{{ HOST_LL_CC }}.UTF-8"
|
||||
LANGUAGE: "{{ HOST_LL_CC }}.UTF-8"
|
||||
LC_ALL: "{{ DISCOURSE_LOCAL }}"
|
||||
LANG: "{{ DISCOURSE_LOCAL }}"
|
||||
LANGUAGE: "{{ DISCOURSE_LOCAL }}"
|
||||
#DISCOURSE_DEFAULT_LOCALE: {{ HOST_LL }} # Deactivated because not right format was selected @todo find right format
|
||||
|
||||
DB_POOL: "{{ POSTGRES_ALLOWED_AVG_CONNECTIONS }}"
|
||||
|
||||
@@ -25,4 +25,8 @@ DISCOURSE_APPLICATION_YML_DEST: "{{ [ DISCOURSE_CONTAINERS_DIR, DISCOURSE_CONTAI
|
||||
## Error Strings
|
||||
DISCOURSE_ERROR_ALREADY_IN_NET: "Error response from daemon: endpoint with name {{ DISCOURSE_CONTAINER }} already exists in network {{ DISCOURSE_PG_NETWORK }}"
|
||||
DISCOURSE_ERROR_NOT_CONNECTED: 'is not connected to network {{ DISCOURSE_NETWORK }}'
|
||||
DISCOURSE_LDAP_ENABLED: "{{ applications | get_app_conf(application_id, 'docker.services.ldap.enabled') }}"
|
||||
DISCOURSE_LDAP_ENABLED: "{{ applications | get_app_conf(application_id, 'docker.services.ldap.enabled') }}"
|
||||
|
||||
# Don't use variable HOST_LL_CC, because this isn't available in the container.
|
||||
# With this setup you have an minimalistic default setup
|
||||
DISCOURSE_LOCAL: "C.UTF-8"
|
||||
Reference in new issue
Block a user