]> Untitled Git - lemmy.git/blob - ansible/templates/config.hjson
Change join.lemmy.ml to join-lemmy.org (#1628)
[lemmy.git] / ansible / templates / config.hjson
1 {
2   # for more info about the config, check out the documentation
3   # https://join-lemmy.org/docs/en/administration/configuration.html
4
5   # settings related to the postgresql database
6   database: {
7     database: lemmy
8     user: lemmy
9     host: postgres
10     port: 5432
11     pool_size: 5
12     # password to connect to postgres
13     password: "{{ postgres_password }}"
14   }
15   # the domain name of your instance (eg "lemmy.ml")
16   hostname: "{{ domain }}"
17   # the port where lemmy should listen for incoming requests
18   port: 8536
19   # json web token for authorization between server and client
20   jwt_secret: "{{ jwt_password }}"
21   # whether tls is required for activitypub. only disable this for debugging, never for producion.
22   tls_enabled: true
23   # email sending configuration
24   email: {
25     # hostname of the smtp server
26     smtp_server: "postfix:25"
27     # address to send emails from, eg "noreply@your-instance.com"
28     smtp_from_address: "noreply@{{ domain }}"
29     use_tls: false
30   }
31   # settings related to activitypub federation
32   federation: {
33     # whether to enable activitypub federation. 
34     enabled: false
35     # Allows and blocks are described here:
36     # https://join-lemmy.org/docs/en/federation/administration.html#instance-allowlist-and-blocklist
37     #
38     # comma separated list of instances with which federation is allowed
39     # Only one of these blocks should be uncommented
40     # allowed_instances: ["instance1.tld","instance2.tld"]
41     # comma separated list of instances which are blocked from federating
42     # blocked_instances: []
43   }
44 }