From: Dessalines Date: Sun, 13 Oct 2019 23:24:15 +0000 (-0700) Subject: Adding ansible defaults. X-Git-Url: http://these/git/%22https:/nerdica.net/static/%24%7Bk%5B1%5D.custom_emoji.image_url%7D?a=commitdiff_plain;h=3d987210cd0f8ee9b593142e5c2aa586d67fb679;p=lemmy.git Adding ansible defaults. --- diff --git a/ansible/templates/env b/ansible/templates/env index c3f8c06a..6ffa6819 100644 --- a/ansible/templates/env +++ b/ansible/templates/env @@ -2,3 +2,9 @@ DOMAIN={{ domain }} DATABASE_PASSWORD={{ postgres_password }} DATABASE_URL=postgres://lemmy:{{ postgres_password }}@lemmy_db:5432/lemmy JWT_SECRET={{ jwt_password }} +RATE_LIMIT_MESSAGE=30 +RATE_LIMIT_MESSAGE_PER_SECOND=60 +RATE_LIMIT_POST=3 +RATE_LIMIT_POST_PER_SECOND=600 +RATE_LIMIT_REGISTER=1 +RATE_LIMIT_REGISTER_PER_SECOND=3600