]> Untitled Git - lemmy.git/blobdiff - docker/lemmy.hjson
Implement rate limits on comments
[lemmy.git] / docker / lemmy.hjson
index bceb5f6cd46265e90c3ca8ae8d86bd61222ecdfa..54975feca8337dec93fd6de8e9505c48ebc34176 100644 (file)
@@ -1,12 +1,12 @@
 {
   # for more info about the config, check out the documentation
-  # https://join.lemmy.ml/docs/en/administration/configuration.html
+  # https://join-lemmy.org/docs/en/administration/configuration.html
 
   setup: {
     # username for the admin user
     admin_username: "lemmy"
     # password for the admin user
-    admin_password: "lemmy"
+    admin_password: "lemmylemmy"
     # name of the site (can be changed later)
     site_name: "lemmy-test"
   }
@@ -17,9 +17,9 @@
   bind: "0.0.0.0"
   # port where lemmy should listen for incoming requests
   port: 8536
-  # json web token for authorization between server and client
-  jwt_secret: "changeme"
   # settings related to the postgresql database
+  # address where pictrs is available
+  pictrs_url: "http://pictrs:8080"
   database: {
     # name of the postgres database for lemmy
     database: "lemmy"
     # maximum number of active sql connections
     pool_size: 5
   }
+  slur_filter:
+    '''
+    (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?)
+    '''
 #  # optional: email sending configuration
 #  email: {
 #    # hostname and port of the smtp server