]> Untitled Git - lemmy.git/blob - docker/lemmy.hjson
Moving docs to join.lemmy.ml . Fixes #1396 (#1410)
[lemmy.git] / docker / lemmy.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   setup: {
6     # username for the admin user
7     admin_username: "lemmy"
8     # password for the admin user
9     admin_password: "lemmy"
10     # name of the site (can be changed later)
11     site_name: "lemmy-test"
12   }
13
14   # the domain name of your instance (eg "lemmy.ml")
15   hostname: "my_domain"
16   # address where lemmy should listen for incoming requests
17   bind: "0.0.0.0"
18   # port where lemmy should listen for incoming requests
19   port: 8536
20   # json web token for authorization between server and client
21   jwt_secret: "changeme"
22   # settings related to the postgresql database
23   database: {
24     # name of the postgres database for lemmy
25     database: "lemmy"
26     # username to connect to postgres
27     user: "lemmy"
28     # password to connect to postgres
29     password: "password"
30     # host where postgres is running
31     host: "postgres"
32   }
33 #  # optional: email sending configuration
34 #  email: {
35 #    # hostname and port of the smtp server
36 #    smtp_server: ""
37 #    # login name for smtp server
38 #    smtp_login: ""
39 #    # password to login to the smtp server
40 #    smtp_password: ""
41 #    # address to send emails from, eg "noreply@your-instance.com"
42 #    smtp_from_address: ""
43 #    # whether or not smtp connections should use tls
44 #    use_tls: true
45 #  }
46 }
47