mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-23 00:14:48 +00:00
12523b6ae4
Closes #802 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
35 lines
979 B
Elixir
35 lines
979 B
Elixir
# Mobilizon instance configuration
|
|
|
|
import Config
|
|
|
|
config :mobilizon, Mobilizon.Web.Endpoint,
|
|
server: <%= release %>,
|
|
url: [host: "<%= instance_domain %>"],
|
|
http: [
|
|
ip: {127,0,0,1},
|
|
port: <%= listen_port %>
|
|
],
|
|
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,
|
|
email_from: "<%= instance_email %>",
|
|
email_reply_to: "<%= instance_email %>"
|
|
|
|
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
|