X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=priv%2Ftemplates%2Fsample_config.eex;h=cdddc47eab0384cb97927cdbc2dacd0eb548da66;hb=1fb9452131721456adf2c19c513e6343f64825a7;hp=5cc31c604b1eb8079ca2a0676b3183d8df36547d;hpb=4948117fcf297efa735cdafb9cddf39946668266;p=akkoma diff --git a/priv/templates/sample_config.eex b/priv/templates/sample_config.eex index 5cc31c604..cdddc47ea 100644 --- a/priv/templates/sample_config.eex +++ b/priv/templates/sample_config.eex @@ -11,6 +11,7 @@ end %> config :pleroma, Pleroma.Web.Endpoint, url: [host: "<%= domain %>", scheme: "https", port: <%= port %>], + http: [ip: {<%= String.replace(listen_ip, ".", ", ") %>}, port: <%= listen_port %>], secret_key_base: "<%= secret %>", signing_salt: "<%= signing_salt %>" @@ -19,8 +20,7 @@ config :pleroma, :instance, email: "<%= email %>", notify_email: "<%= notify_email %>", limit: 5000, - registrations_open: true, - dynamic_configuration: <%= db_configurable? %> + registrations_open: true config :pleroma, :media_proxy, enabled: false, @@ -67,3 +67,11 @@ config :pleroma, Pleroma.Uploaders.Local, uploads: "<%= uploads_dir %>" # For using third-party S3 clones like wasabi, also do: # config :ex_aws, :s3, # host: "s3.wasabisys.com" + +config :joken, default_signer: "<%= jwt_secret %>" + +config :pleroma, configurable_from_database: <%= db_configurable? %> + +<%= if Kernel.length(upload_filters) > 0 do +"config :pleroma, Pleroma.Upload, filters: #{inspect(upload_filters)}" +end %>