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
config :mobilizon, Mobilizon.Storage.Repo,
username: System.get_env("MOBILIZON_DATABASE_USERNAME", "mobilizon"),
password: System.get_env("MOBILIZON_DATABASE_PASSWORD", "mobilizon"),
database: System.get_env("MOBILIZON_DATABASE_DBNAME", "mobilizon_dev"),
username: System.get_env("MOBILIZON_DATABASE_USERNAME", "openstreetmap"),
password: System.get_env("MOBILIZON_DATABASE_PASSWORD", "openstreetmap"),
database: System.get_env("MOBILIZON_DATABASE_DBNAME", "openstreetmap"),
hostname: System.get_env("MOBILIZON_DATABASE_HOST", "localhost"),
port: System.get_env("MOBILIZON_DATABASE_PORT", "5432"),
pool_size: 10,
show_sensitive_data_on_connection_error: true
config :mobilizon, :instance,
name: System.get_env("MOBILIZON_INSTANCE_NAME", "Mobilizon"),
hostname: System.get_env("MOBILIZON_INSTANCE_HOST", "Mobilizon"),
name: System.get_env("MOBILIZON_INSTANCE_NAME", "Mobilizon openstreetmap"),
hostname: System.get_env("MOBILIZON_INSTANCE_HOST", "Mobilizon openstreetmap"),
email_from: 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",