]> Untitled Git - lemmy.git/blob - docker/lemmy.hjson
779c8d2c06fb741851539f0dc28eb0e3664a0f82
[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: "my_domain"
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   # address where pictrs is available
24   pictrs_url: "http://pictrs:8080"
25   database: {
26     # name of the postgres database for lemmy
27     database: "lemmy"
28     # username to connect to postgres
29     user: "lemmy"
30     # password to connect to postgres
31     password: "password"
32     # host where postgres is running
33     host: "postgres"
34     # port where postgres can be accessed
35     port: 5432
36     # maximum number of active sql connections
37     pool_size: 5
38   }
39   slur_filter:
40     '''
41     (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?)
42     '''
43 #  # optional: email sending configuration
44 #  email: {
45 #    # hostname and port of the smtp server
46 #    smtp_server: ""
47 #    # login name for smtp server
48 #    smtp_login: ""
49 #    # password to login to the smtp server
50 #    smtp_password: ""
51 #    # address to send emails from, eg "noreply@your-instance.com"
52 #    smtp_from_address: ""
53 #    # whether or not smtp connections should use tls
54 #    use_tls: true
55 #  }
56 }
57