3 # username to connect to postgres
5 # password to connect to postgres
7 # host where postgres is running
9 # port where postgres can be accessed
11 # name of the postgres database for lemmy
13 # maximum number of active sql connections
16 # the domain name of your instance (eg "dev.lemmy.ml")
18 # address where lemmy should listen for incoming requests
20 # port where lemmy should listen for incoming requests
22 # json web token for authorization between server and client
23 jwt_secret: "changeme"
24 # The dir for the front end
25 front_end_dir: "/app/dist"
26 # whether to enable activitypub federation. this feature is in alpha, do not enable in production, as might
27 # cause problems like remote instances fetching and permanently storing bad data.
28 federation_enabled: false
29 # rate limits for various user actions, by user ip
31 # maximum number of messages created in interval
33 # interval length for message limit
34 message_per_second: 60
35 # maximum number of posts created in interval
37 # interval length for post limit
39 # maximum number of registrations in interval
41 # interval length for registration limit
42 register_per_second: 3600
44 # # email sending configuration
46 # # hostname of the smtp server
48 # # login name for smtp server
50 # # password to login to the smtp server
52 # # address to send emails from, eg "info@your-instance.com"
53 # smtp_from_address: ""