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 # # optional: parameters for automatic configuration of new instance (only used at first start)
46 # # username for the admin user
47 # admin_username: "lemmy"
48 # # password for the admin user
49 # admin_password: "lemmy"
50 # # name of the site (can be changed later)
51 # site_name: "Lemmy Test"
53 # # optional: email sending configuration
55 # # hostname of the smtp server
57 # # login name for smtp server
59 # # password to login to the smtp server
61 # # address to send emails from, eg "info@your-instance.com"
62 # smtp_from_address: ""