add nick, locale env ; fix email sender

This commit is contained in:
Philipp Rothmann 2022-04-07 14:34:53 +02:00
parent 7d26a12cb0
commit a3e3713112
3 changed files with 7 additions and 5 deletions

View File

@ -17,7 +17,9 @@ FOODCOOP_ZIP_CODE=XXX
FOODCOOP_HOMEPAGE=https://order.example.org
FOODCOOP_HELP_URL=https://order.example.org
FOODCOOP_TIME_ZONE=Amsterdam
FOODCOOP_FOOTER="<a href="https://example.org/">example</a> hosted by <a href="https://yourhoster.org">Your Tech Co-op</a>."
FOODCOOP_FOOTER=""
FOODCOOP_USE_NICK=true
FOODCOOP_LANGUAGE=en
# database settings
MYSQL_DB=foodsoft

View File

@ -1,4 +1,4 @@
export APP_CONFIG_VERSION=v1
export APP_CONFIG_VERSION=v2
export DB_CONFIG_VERSION=v1
export ENTRYPOINT_VERSION=v1
export PRODUCTION_ENV_VERSION=v1

View File

@ -33,7 +33,7 @@ default: &defaults
foodsoft_url: https://foodcoops.github.io
# Default language
default_locale: en
default_locale: {{ env "FOODCOOP_LANGUAGE" }}
# By default, foodsoft takes the language from the webbrowser/operating system.
# In case you really want foodsoft in a certain language by default, set this to true.
@ -86,7 +86,7 @@ default: &defaults
# When use_nick is enabled, there will be a nickname field in the user form,
# and the option to show a nickname instead of full name to foodcoop members.
# Members of a user's groups and administrators can still see full names.
use_nick: true
use_nick: {{ env "FOODCOOP_USE_NICK" }}
# Most plugins can be enabled/disabled here as well. Messages and wiki are enabled
# by default and need to be set to false to disable. Most other plugins needs to
@ -129,7 +129,7 @@ default: &defaults
email_from: "{{ env "EMAIL_SENDER" }}"
# domain to be used for reply emails
reply_email_domain: "{{ env "EMAIL_REPLY_DOMAIN" }}"
reply_email_domain: {{ env "EMAIL_REPLY_DOMAIN" }}
# If your foodcoop uses a mailing list instead of internal messaging system
#mailing_list: list@example.org