Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
pleroma
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
normandy
pleroma
Commits
78bf1b80
Verified
Commit
78bf1b80
authored
6 years ago
by
Haelwenn
Browse files
Options
Downloads
Patches
Plain Diff
README.md: Add note for OpenRC
parent
db67c9b1
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CONFIGURATION.md
+0
-106
0 additions, 106 deletions
CONFIGURATION.md
README.md
+5
-0
5 additions, 0 deletions
README.md
with
5 additions
and
106 deletions
CONFIGURATION.md
deleted
100644 → 0
+
0
−
106
View file @
db67c9b1
# Configuring Pleroma
In the
`config/`
directory, you will find the following relevant files:
*
`config.exs`
: default base configuration
*
`dev.exs`
: default additional configuration for
`MIX_ENV=dev`
*
`prod.exs`
: default additional configuration for
`MIX_ENV=prod`
Do not modify files in the list above.
Instead, overload the settings by editing the following files:
*
`dev.secret.exs`
: custom additional configuration for
`MIX_ENV=dev`
*
`prod.secret.exs`
: custom additional configuration for
`MIX_ENV=prod`
## Uploads configuration
To configure where to upload files, and wether or not
you want to remove automatically EXIF data from pictures
being uploaded.
config :pleroma, Pleroma.Upload,
uploads: "uploads",
strip_exif: false
*
`uploads`
: where to put the uploaded files, relative to pleroma's main directory.
*
`strip_exif`
: whether or not to remove EXIF data from uploaded pics automatically.
This needs Imagemagick installed on the system ( apt install imagemagick ).
## Block functionality
config :pleroma, :activitypub,
accept_blocks: true,
unfollow_blocked: true,
outgoing_blocks: true
config :pleroma, :user, deny_follow_blocked: true
*
`accept_blocks`
: whether to accept incoming block activities from
other instances
*
`unfollow_blocked`
: whether blocks result in people getting
unfollowed
*
`outgoing_blocks`
: whether to federate blocks to other instances
*
`deny_follow_blocked`
: whether to disallow following an account that
has blocked the user in question
## Message Rewrite Filters (MRFs)
Modify incoming and outgoing posts.
config :pleroma, :instance,
rewrite_policy: Pleroma.Web.ActivityPub.MRF.NoOpPolicy
`rewrite_policy`
specifies which MRF policies to apply.
It can either be a single policy or a list of policies.
Currently, MRFs availible by default are:
*
`Pleroma.Web.ActivityPub.MRF.NoOpPolicy`
*
`Pleroma.Web.ActivityPub.MRF.DropPolicy`
*
`Pleroma.Web.ActivityPub.MRF.SimplePolicy`
*
`Pleroma.Web.ActivityPub.MRF.RejectNonPublic`
Some policies, such as SimplePolicy and RejectNonPublic,
can be additionally configured in their respective sections.
### NoOpPolicy
Does not modify posts (this is the default
`rewrite_policy`
)
### DropPolicy
Drops all posts.
It generally does not make sense to use this in production.
### SimplePolicy
Restricts the visibility of posts from certain instances.
config :pleroma, :mrf_simple,
media_removal: [],
media_nsfw: [],
federated_timeline_removal: [],
reject: [],
accept: []
*
`media_removal`
: posts from these instances will have attachments
removed
*
`media_nsfw`
: posts from these instances will have attachments marked
as nsfw
*
`federated_timeline_removal`
: posts from these instances will be
marked as unlisted
*
`reject`
: posts from these instances will be dropped
*
`accept`
: if not empty, only posts from these instances will be accepted
### RejectNonPublic
Drops posts with non-public visibility settings.
config :pleroma :mrf_rejectnonpublic
allow_followersonly: false,
allow_direct: false,
*
`allow_followersonly`
: whether to allow follower-only posts through
the filter
*
`allow_direct`
: whether to allow direct messages through the filter
This diff is collapsed.
Click to expand it.
README.md
+
5
−
0
View file @
78bf1b80
...
...
@@ -58,6 +58,11 @@ Pleroma comes with two frontends. The first one, Pleroma FE, can be reached by n
Running
`service pleroma start`
Logs can be watched by using
`journalctl -fu pleroma.service`
### As OpenRC service (with provided RC file)
Copy
``installation/init.d/pleroma``
to
``/etc/init.d/pleroma``
.
You can add it to the services ran by default with:
``rc-update add pleroma``
### Standalone/run by other means
Run
`mix phx.server`
in repository's root, it will output log into stdout/stderr
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment