]> Untitled Git - lemmy.git/blob - docker/lemmy.hjson
Config fixes.
[lemmy.git] / docker / lemmy.hjson
1 {
2   database: {
3     # username to connect to postgres
4     user: "lemmy"
5     # password to connect to postgres
6     password: "password"
7     # host where postgres is running
8     host: "lemmy_db"
9     # port where postgres can be accessed
10     port: 5432
11     # name of the postgres database for lemmy
12     database: "lemmy"
13     # maximum number of active sql connections
14     pool_size: 5
15   }
16   # the domain name of your instance (eg "dev.lemmy.ml")
17   hostname: "rrr"
18   # address where lemmy should listen for incoming requests
19   bind: "0.0.0.0"
20   # port where lemmy should listen for incoming requests
21   port: 8536
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
30   rate_limit: {
31     # maximum number of messages created in interval
32     message: 30
33     # interval length for message limit
34     message_per_second: 60
35     # maximum number of posts created in interval
36     post: 6
37     # interval length for post limit
38     post_per_second: 600
39     # maximum number of registrations in interval
40     register: 3
41     # interval length for registration limit
42     register_per_second: 3600
43   }
44 #  # email sending configuration
45 #  email: {
46 #    # hostname of the smtp server
47 #    smtp_server: ""
48 #    # login name for smtp server
49 #    smtp_login: ""
50 #    # password to login to the smtp server
51 #    smtp_password: ""
52 #    # address to send emails from, eg "info@your-instance.com"
53 #    smtp_from_address: ""
54 #  }
55 }
56