]> Untitled Git - lemmy.git/blob - ansible/templates/config.hjson
Moving docs to join.lemmy.ml . Fixes #1396 (#1410)
[lemmy.git] / ansible / templates / config.hjson
1 {
2   # for more info about the config, check out the documentation
3   # https://join.lemmy.ml/docs/en/administration/configuration.html
4
5   # settings related to the postgresql database
6   database: {
7     # password to connect to postgres
8     password: "{{ postgres_password }}"
9     # host where postgres is running
10     host: "postgres"
11   }
12   # the domain name of your instance (eg "lemmy.ml")
13   hostname: "{{ domain }}"
14   # json web token for authorization between server and client
15   jwt_secret: "{{ jwt_password }}"
16   # email sending configuration
17   email: {
18     # hostname of the smtp server
19     smtp_server: "postfix:25"
20     # address to send emails from, eg "noreply@your-instance.com"
21     smtp_from_address: "noreply@{{ domain }}"
22     use_tls: false
23   }
24   # settings related to activitypub federation
25   federation: {
26     # whether to enable activitypub federation. 
27     enabled: false
28     # Allows and blocks are described here:
29     # https://join.lemmy.ml/docs/en/federation/administration.html#instance-allowlist-and-blocklist
30     #
31     # comma separated list of instances with which federation is allowed
32     # allowed_instances: ""
33     # comma separated list of instances which are blocked from federating
34     # blocked_instances: ""
35   }
36 }