]> Untitled Git - lemmy.git/blob - docker/lemmy.hjson
Adding admin purging of DB items and pictures. #904 #1331 (#1809)
[lemmy.git] / docker / lemmy.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   setup: {
6     # username for the admin user
7     admin_username: "lemmy"
8     # password for the admin user
9     admin_password: "lemmylemmy"
10     # name of the site (can be changed later)
11     site_name: "lemmy-test"
12   }
13
14   opentelemetry_url: "http://otel:4137"
15
16   # the domain name of your instance (eg "lemmy.ml")
17   hostname: "mydomain.ml"
18   # address where lemmy should listen for incoming requests
19   bind: "0.0.0.0"
20   # port where lemmy should listen for incoming requests
21   port: 8536
22   # settings related to the postgresql database
23   pictrs_config: {
24     url: "http://pictrs:8080"
25     api_key: "API_KEY"
26   }
27   database: {
28     # name of the postgres database for lemmy
29     database: "lemmy"
30     # username to connect to postgres
31     user: "lemmy"
32     # password to connect to postgres
33     password: "password"
34     # host where postgres is running
35     host: "postgres"
36     # port where postgres can be accessed
37     port: 5432
38     # maximum number of active sql connections
39     pool_size: 5
40   }
41   slur_filter:
42     '''
43     (fag(g|got|tard)?\b|cock\s?sucker(s|ing)?|ni((g{2,}|q)+|[gq]{2,})[e3r]+(s|z)?|mudslime?s?|kikes?|\bspi(c|k)s?\b|\bchinks?|gooks?|bitch(es|ing|y)?|whor(es?|ing)|\btr(a|@)nn?(y|ies?)|\b(b|re|r)tard(ed)?s?)
44     '''
45 #  # optional: email sending configuration
46 #  email: {
47 #    # hostname and port of the smtp server
48 #    smtp_server: ""
49 #    # login name for smtp server
50 #    smtp_login: ""
51 #    # password to login to the smtp server
52 #    smtp_password: ""
53 #    # address to send emails from, eg "noreply@your-instance.com"
54 #    smtp_from_address: ""
55 #    # whether or not smtp connections should use tls
56 #    use_tls: true
57 #  }
58 }
59