Merge branch 'mcnesium-main-patch-82668' into 'devs'

add support for MOBILIZON_INSTANCE_DESCRIPTION environment variable

See merge request kaihuri/mobilizon!1595
This commit is contained in:
setop
2025-07-11 10:47:45 +00:00

View File

@@ -47,7 +47,7 @@ config :mobilizon, Mobilizon.Web.Auth.Guardian,
config :mobilizon, :instance, config :mobilizon, :instance,
name: System.get_env("MOBILIZON_INSTANCE_NAME", "Mobilizon"), name: System.get_env("MOBILIZON_INSTANCE_NAME", "Mobilizon"),
description: "Change this to a proper description of your instance", description: System.get_env("MOBILIZON_INSTANCE_DESCRIPTION", "Change this to a proper description of your instance"),
hostname: System.get_env("MOBILIZON_INSTANCE_HOST", "mobilizon.lan"), hostname: System.get_env("MOBILIZON_INSTANCE_HOST", "mobilizon.lan"),
registrations_open: System.get_env("MOBILIZON_INSTANCE_REGISTRATIONS_OPEN", "false") == "true", registrations_open: System.get_env("MOBILIZON_INSTANCE_REGISTRATIONS_OPEN", "false") == "true",
registration_email_allowlist: registration_email_allowlist: