]> Untitled Git - lemmy.git/blob - ansible/templates/config.hjson
Rewrite fetcher (#1792)
[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   # address where pictrs is available
24   pictrs_url: "http://pictrs:8080"
25   # email sending configuration
26   email: {
27     # hostname of the smtp server
28     smtp_server: "postfix:25"
29     # address to send emails from, eg "noreply@your-instance.com"
30     smtp_from_address: "noreply@{{ domain }}"
31     use_tls: false
32   }
33   # settings related to activitypub federation
34   federation: {
35     # whether to enable activitypub federation. 
36     enabled: false
37     # Allows and blocks are described here:
38     # https://join-lemmy.org/docs/en/federation/administration.html#instance-allowlist-and-blocklist
39     #
40     # comma separated list of instances with which federation is allowed
41     # Only one of these blocks should be uncommented
42     # allowed_instances: ["instance1.tld","instance2.tld"]
43     # comma separated list of instances which are blocked from federating
44     # blocked_instances: []
45   }
46 }