2 # # optional: parameters for automatic configuration of new instance (only used at first start)
4 # # username for the admin user
6 # # password for the admin user
8 # # optional: email for the admin user (can be omitted and set later through the website)
10 # # name of the site (can be changed later)
13 # settings related to the postgresql database
15 # username to connect to postgres
17 # password to connect to postgres
19 # host where postgres is running
21 # port where postgres can be accessed
23 # name of the postgres database for lemmy
25 # maximum number of active sql connections
28 # the domain name of your instance (eg "lemmy.ml")
30 # address where lemmy should listen for incoming requests
32 # port where lemmy should listen for incoming requests
34 # whether tls is required for activitypub. only disable this for debugging, never for producion.
36 # json web token for authorization between server and client
37 jwt_secret: "changeme"
38 # address where pictrs is available
39 pictrs_url: "http://pictrs:8080"
40 # address where iframely is available
41 iframely_url: "http://iframely"
42 # maximum length of local community and user names
43 actor_name_max_length: 20
44 # rate limits for various user actions, by user ip
46 # maximum number of messages created in interval
48 # interval length for message limit
49 message_per_second: 60
50 # maximum number of posts created in interval
52 # interval length for post limit
54 # maximum number of registrations in interval
56 # interval length for registration limit
57 register_per_second: 3600
58 # maximum number of image uploads in interval
60 # interval length for image uploads
61 image_per_second: 3600
63 # settings related to activitypub federation
65 # whether to enable activitypub federation.
67 # Allows and blocks are described here:
68 # https://join-lemmy.org/docs/en/federation/administration.html#instance-allowlist-and-blocklist
70 # list of instances with which federation is allowed
71 # allowed_instances: ["instance1.tld","instance2.tld"]
72 # instances which we never federate anything with (but previously federated objects are unaffected)
73 # blocked_instances: []
74 # If true, only federate with instances on the allowlist and block everything else. If false,
75 # use allowlist only for remote communities, and posts/comments in local communities.
76 # strict_allowlist: true
80 difficulty: medium # Can be easy, medium, or hard
82 # # email sending configuration
84 # # hostname and port of the smtp server
86 # # login name for smtp server
88 # # password to login to the smtp server
90 # # address to send emails from, eg "noreply@your-instance.com"
91 # smtp_from_address: ""
92 # # whether or not smtp connections should use tls
97 # (\bThis\b)|(\bis\b)|(\bsample\b)