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 # The dir for the front end
26 front_end_dir: "../ui/dist"
27 # whether to enable activitypub federation. this feature is in alpha, do not enable in production, as might
28 # cause problems like remote instances fetching and permanently storing bad data.
29 federation_enabled: false
30 # rate limits for various user actions, by user ip
32 # maximum number of messages created in interval
34 # interval length for message limit
35 message_per_second: 60
36 # maximum number of posts created in interval
38 # interval length for post limit
40 # maximum number of registrations in interval
42 # interval length for registration limit
43 register_per_second: 3600
45 # # email sending configuration
47 # # hostname of the smtp server
49 # # login name for smtp server
51 # # password to login to the smtp server
53 # # address to send emails from, eg "info@your-instance.com"
54 # smtp_from_address: ""