summaryrefslogtreecommitdiff
path: root/lib/mix/tasks/sample_config.eex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mix/tasks/sample_config.eex')
-rw-r--r--lib/mix/tasks/sample_config.eex20
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/mix/tasks/sample_config.eex b/lib/mix/tasks/sample_config.eex
new file mode 100644
index 000000000..62a9804fe
--- /dev/null
+++ b/lib/mix/tasks/sample_config.eex
@@ -0,0 +1,20 @@
+use Mix.Config
+
+config :pleroma, Pleroma.Web.Endpoint,
+ url: [host: "<%= domain %>", scheme: "https", port: 443],
+ secret_key_base: "<%= secret %>"
+
+config :pleroma, :instance,
+ name: "<%= name %>",
+ email: "<%= email %>",
+ limit: 5000,
+ registrations_open: true
+
+# Configure your database
+config :pleroma, Pleroma.Repo,
+ adapter: Ecto.Adapters.Postgres,
+ username: "postgres",
+ password: "postgres",
+ database: "pleroma_dev",
+ hostname: "localhost",
+ pool_size: 10