config osm user

This commit is contained in:
Tykayn 2020-12-18 13:57:53 +01:00 committed by tykayn
parent acf45578d9
commit 70f0acca04

View File

@ -74,17 +74,17 @@ config :mobilizon, Mobilizon.Web.Email.Mailer, adapter: Bamboo.LocalAdapter
# Configure your database # Configure your database
config :mobilizon, Mobilizon.Storage.Repo, config :mobilizon, Mobilizon.Storage.Repo,
username: System.get_env("MOBILIZON_DATABASE_USERNAME", "mobilizon"), username: System.get_env("MOBILIZON_DATABASE_USERNAME", "openstreetmap"),
password: System.get_env("MOBILIZON_DATABASE_PASSWORD", "mobilizon"), password: System.get_env("MOBILIZON_DATABASE_PASSWORD", "openstreetmap"),
database: System.get_env("MOBILIZON_DATABASE_DBNAME", "mobilizon_dev"), database: System.get_env("MOBILIZON_DATABASE_DBNAME", "openstreetmap"),
hostname: System.get_env("MOBILIZON_DATABASE_HOST", "localhost"), hostname: System.get_env("MOBILIZON_DATABASE_HOST", "localhost"),
port: System.get_env("MOBILIZON_DATABASE_PORT", "5432"), port: System.get_env("MOBILIZON_DATABASE_PORT", "5432"),
pool_size: 10, pool_size: 10,
show_sensitive_data_on_connection_error: true show_sensitive_data_on_connection_error: true
config :mobilizon, :instance, config :mobilizon, :instance,
name: System.get_env("MOBILIZON_INSTANCE_NAME", "Mobilizon"), name: System.get_env("MOBILIZON_INSTANCE_NAME", "Mobilizon openstreetmap"),
hostname: System.get_env("MOBILIZON_INSTANCE_HOST", "Mobilizon"), hostname: System.get_env("MOBILIZON_INSTANCE_HOST", "Mobilizon openstreetmap"),
email_from: System.get_env("MOBILIZON_INSTANCE_EMAIL"), email_from: System.get_env("MOBILIZON_INSTANCE_EMAIL"),
email_reply_to: System.get_env("MOBILIZON_INSTANCE_EMAIL"), email_reply_to: System.get_env("MOBILIZON_INSTANCE_EMAIL"),
registrations_open: System.get_env("MOBILIZON_INSTANCE_REGISTRATIONS_OPEN") == "true", registrations_open: System.get_env("MOBILIZON_INSTANCE_REGISTRATIONS_OPEN") == "true",