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 "dev.lemmy.ml")
30 # address where lemmy should listen for incoming requests
32 # port where lemmy should listen for incoming requests
34 # json web token for authorization between server and client
35 jwt_secret: "changeme"
36 # The dir for the front end
37 front_end_dir: "../ui/dist"
38 # rate limits for various user actions, by user ip
40 # maximum number of messages created in interval
42 # interval length for message limit
43 message_per_second: 60
44 # maximum number of posts created in interval
46 # interval length for post limit
48 # maximum number of registrations in interval
50 # interval length for registration limit
51 register_per_second: 3600
53 # settings related to activitypub federation
55 # whether to enable activitypub federation. this feature is in alpha, do not enable in production.
57 # comma seperated list of instances to follow
58 followed_instances: ""
59 # whether tls is required for activitypub. only disable this for debugging, never for producion.
62 # # email sending configuration
64 # # hostname of the smtp server
66 # # login name for smtp server
68 # # password to login to the smtp server
70 # # address to send emails from, eg "info@your-instance.com"
71 # smtp_from_address: ""