summaryrefslogtreecommitdiffstats
path: root/ansible/templates/config.hjson
blob: 72d7c58cb455e67a86871e513a132b3093067a31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
  # for more info about the config, check out the documentation
  # https://dev.lemmy.ml/docs/administration_configuration.html

  # settings related to the postgresql database
  database: {
    # password to connect to postgres
    password: "{{ postgres_password }}"
    # host where postgres is running
    host: "postgres"
  }
  # the domain name of your instance (eg "dev.lemmy.ml")
  hostname: "{{ domain }}"
  # json web token for authorization between server and client
  jwt_secret: "{{ jwt_password }}"
  # The location of the frontend
  front_end_dir: "/app/dist"
  # email sending configuration
  email: {
    # hostname of the smtp server
    smtp_server: "postfix:25"
    # address to send emails from, eg "noreply@your-instance.com"
    smtp_from_address: "noreply@{{ domain }}"
    use_tls: false
  }
}