-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.yaml.example
89 lines (68 loc) · 2.34 KB
/
config.yaml.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# Jejune example configuration.
# Path configuration.
# By default, paths are relative from the Jejune installation directory.
paths:
# The RDF store is where RDF objects are stored and loaded from disk.
rdf: store/rdf
# The user database stores usernames, passwords and other local preferences
# for local actors.
userdb: store/userdb
# The static web assets path. Point this at your web client, like Pleroma FE.
static: static
# Upload path. Point this to your uploaded assets.
upload: store/upload
# Listener configuration.
listener:
# The IP address to bind to.
bind: 127.0.0.1
# The port to listen for HTTP requests on.
port: 8080
# Instance configuration.
instance:
# The name of the instance.
name: A Misconfigured Jejune Instance
# The hostname of the instance, used for generating URIs, etc.
hostname: misconfigured.example
# The data returned by the Pleroma frontend_configurations API.
frontend-configurations:
pleroma_fe:
alwaysShowSubjectInput: true,
background: "/static/aurora_borealis.jpg"
collapseMessageWithSubject: true
loginMethod: password
subjectLineBehavior: email
# Limits for posts and uploads.
limits:
# The maximum length of a post.
post-chars: 5000
# Maximum avatar size (in bytes).
avatar-size: 2000000
# Maximum background size (in bytes).
background-size: 4000000
# Maximum banner size (in bytes).
banner-size: 4000000
# General upload limit (in bytes).
general-upload-size: 16000000
# The maximum number of items to crawl while building a timeline.
timeline-length: 4096
# Whether registrations are enabled.
registrations: true
# Plugins to use.
plugins:
- jejune.plugin.web.simple_frontend
# Federation configuration.
federation:
# Whether federation is enabled at all.
enabled: true
# Twitter configuration (if POSSE to Twitter plugin is loaded).
# You will need to go to the Twitter developer portal and create an account,
# then you create an app and issue yourself an access token and secret.
twitter:
# Local accounts to POSSE to the configured account with.
users: []
# Access token and secret issued by Twitter.
access-token: whatever
access-secret: whatever
# Consumer token and secret issued by Twitter for a specific account.
consumer-key: whatever
consumer-secret: whatever