add runtime config
This commit is contained in:
parent
8072175c51
commit
cc8d899626
35
config/runtime.exs
Normal file
35
config/runtime.exs
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
# Mobilizon instance configuration
|
||||||
|
|
||||||
|
import Config
|
||||||
|
|
||||||
|
config :mobilizon, Mobilizon.Web.Endpoint,
|
||||||
|
server: true,
|
||||||
|
url: [host: "mob.lan"],
|
||||||
|
http: [
|
||||||
|
ip: {0, 0, 0, 0, 0, 0, 0, 1},
|
||||||
|
port: 4000
|
||||||
|
],
|
||||||
|
secret_key_base: "TXEO1btWtIkar6DYi8fAeIj0Rw6VXPzEFgwugvyA0qD+45qTLt8o088BBDakcf59"
|
||||||
|
|
||||||
|
config :mobilizon, Mobilizon.Web.Auth.Guardian,
|
||||||
|
secret_key: "FSiVN0xM6m194UMfW9lsj/o5vXYTkJjaFGLGKcbDfjSz5r7UE6e+tYAjhly70ZxG"
|
||||||
|
|
||||||
|
config :mobilizon, :instance,
|
||||||
|
name: "moblan",
|
||||||
|
description: "Change this to a proper description of your instance",
|
||||||
|
hostname: "mob.lan",
|
||||||
|
registrations_open: false,
|
||||||
|
demo: false,
|
||||||
|
allow_relay: true,
|
||||||
|
federating: true,
|
||||||
|
email_from: "noreply@mob.lan",
|
||||||
|
email_reply_to: "noreply@mob.lan"
|
||||||
|
|
||||||
|
config :mobilizon, Mobilizon.Storage.Repo,
|
||||||
|
adapter: Ecto.Adapters.Postgres,
|
||||||
|
username: "mobilizon",
|
||||||
|
password: "hnGe9CpuHffYU--_daUDEyRScKSU9abpTz0FhG2pYXQPyPWSPX8mnzo56wPNfesD",
|
||||||
|
database: "mobilizon_prod",
|
||||||
|
hostname: "localhost",
|
||||||
|
port: "5432",
|
||||||
|
pool_size: 10
|
Loading…
Reference in New Issue
Block a user