Skip to content

Instantly share code, notes, and snippets.

@hrefhref
Created May 26, 2018 18:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hrefhref/a23a338885df25e57ff410fdf3d2e8c5 to your computer and use it in GitHub Desktop.
Save hrefhref/a23a338885df25e57ff410fdf3d2e8c5 to your computer and use it in GitHub Desktop.
%%Generated - edit /usr/home/href/dev/pleroma/pleroma/_build/prod/rel/pleroma/pleroma.conf or /usr/home/href/dev/pleroma/pleroma/_build/prod/rel/pleroma/pleroma.conf/sys.config
[{sasl,[{errlog_type,error}]},
{mime,
[{types,
#{<<"application/activity+json">> => [<<"activity+json">>],
<<"application/ld+json">> => [<<"activity+json">>],
<<"application/xrd+xml">> => [<<"xrd+xml">>]}}]},
{ecto,[{json_library,'Elixir.Jason'}]},
{logger,
[{console,
[{format,<<"$time $metadata[$level] $message\n">>},
{metadata,[request_id]}]},
{level,info}]},
{phoenix,[{format_encoders,[{json,'Elixir.Jason'}]},{serve_endpoints,true}]},
{pleroma,
[{'Elixir.Pleroma.Repo',
[{adapter,'Elixir.Ecto.Adapters.Postgres'},
{database,<<"pleroma">>},
{hostname,<<"pgsql1.r">>},
{password,<<"no">>},
{pool_size,10},
{types,'Elixir.Pleroma.PostgresTypes'},
{username,<<"pleroma">>}]},
{'Elixir.Pleroma.Upload',[{uploads,<<"uploads">>}]},
{'Elixir.Pleroma.Web.Endpoint',
[{http,[{ip,{0,0,0,0}},{port,4008}]},
{protocol,<<"http">>},
{pubsub,
[{name,'Elixir.Pleroma.PubSub'},
{adapter,'Elixir.Phoenix.PubSub.PG2'}]},
{render_errors,
[{view,'Elixir.Pleroma.Web.ErrorView'},{accepts,[<<"json">>]}]},
{secret_key_base,
<<"">>},
{server,true},
{url,[{host,<<"pigs.social">>},{port,443},{scheme,<<"https">>}]}]},
{chat,[{enabled,true}]},
{ecto_repos,['Elixir.Pleroma.Repo']},
{gopher,[{enabled,false},{ip,{0,0,0,0}},{port,9999}]},
{http,[{proxy_url,nil}]},
{httpoison,'Elixir.Pleroma.HTTP'},
{instance,
[{email,<<"root@pigs.social">>},
{federating,true},
{limit,5000},
{name,<<"Pigs (Three Different Ones)">>},
{public,true},
{registrations_open,false},
{rewrite_policy,['Elixir.Pleroma.Web.ActivityPub.MRF.NoOpPolicy']},
{upload_limit,16000000},
{version,
<<"Pleroma 0.9.0 be429fe26221023c8dc36358ce802ed6b41ff5b1">>}]},
{media_proxy,[{enabled,true},{redirect_on_failure,false}]},
{mrf_simple,
[{media_removal,[]},
{media_nsfw,[]},
{federated_timeline_removal,[]},
{reject,[]}]},
{ostatus,'Elixir.Pleroma.Web.OStatus'},
{websub,'Elixir.Pleroma.Web.Websub'}]}].
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment