2 # settings related to the postgresql database
4 # username to connect to postgres
6 # password to connect to postgres
8 # host where postgres is running
10 # port where postgres can be accessed
12 # name of the postgres database for lemmy
14 # maximum number of active sql connections
17 # the domain name of your instance (eg "dev.lemmy.ml")
19 # address where lemmy should listen for incoming requests
21 # port where lemmy should listen for incoming requests
23 # json web token for authorization between server and client
24 jwt_secret: "changeme"
25 # whether to enable activitypub federation. this feature is in alpha, do not enable in production, as might
26 # cause problems like remote instances fetching and permanently storing bad data.
27 federation_enabled: false
28 # rate limits for various user actions, by user ip
30 # maximum number of messages created in interval
32 # interval length for message limit
33 message_per_second: 60,
34 # maximum number of posts created in interval
36 # interval length for post limit
38 # maximum number of registrations in interval
40 # interval length for registration limit
41 register_per_second: 3600,
43 # # email sending configuration
45 # # hostname of the smtp server
47 # # login name for smtp server
49 # # password to login to the smtp server
51 # # address to send emails from, eg "info@your-instance.com"
52 # smtp_from_address: ""