2020-01-30 20:27:25 +01:00
|
|
|
# Mobilizon instance configuration
|
|
|
|
|
|
|
|
import Config
|
|
|
|
|
|
|
|
config :mobilizon, Mobilizon.Web.Endpoint,
|
2021-03-11 19:50:54 +01:00
|
|
|
server: <%= release %>,
|
2020-06-10 09:38:06 +02:00
|
|
|
url: [host: "<%= instance_domain %>"],
|
2021-03-26 10:32:23 +01:00
|
|
|
http: [
|
2021-08-11 11:43:45 +02:00
|
|
|
ip: {127,0,0,1},
|
2021-03-26 10:32:23 +01:00
|
|
|
port: <%= listen_port %>
|
|
|
|
],
|
2020-01-30 20:27:25 +01:00
|
|
|
secret_key_base: "<%= instance_secret %>"
|
|
|
|
|
|
|
|
config :mobilizon, Mobilizon.Web.Auth.Guardian,
|
|
|
|
secret_key: "<%= auth_secret %>"
|
|
|
|
|
|
|
|
config :mobilizon, :instance,
|
|
|
|
name: "<%= instance_name %>",
|
|
|
|
description: "Change this to a proper description of your instance",
|
|
|
|
hostname: "<%= instance_domain %>",
|
|
|
|
registrations_open: false,
|
|
|
|
demo: false,
|
|
|
|
allow_relay: true,
|
|
|
|
federating: true,
|
2020-06-10 09:38:06 +02:00
|
|
|
email_from: "<%= instance_email %>",
|
|
|
|
email_reply_to: "<%= instance_email %>"
|
2020-01-30 20:27:25 +01:00
|
|
|
|
|
|
|
config :mobilizon, Mobilizon.Storage.Repo,
|
|
|
|
adapter: Ecto.Adapters.Postgres,
|
|
|
|
username: "<%= database_username %>",
|
|
|
|
password: "<%= database_password %>",
|
|
|
|
database: "<%= database_name %>",
|
|
|
|
hostname: "<%= database_host %>",
|
|
|
|
port: "<%= database_port %>",
|
|
|
|
pool_size: 10
|