From 1b3cf5a710e6f2b088cd46be39eb43dd3b66077b Mon Sep 17 00:00:00 2001 From: Dessalines Date: Sun, 13 Oct 2019 16:24:15 -0700 Subject: [PATCH] Adding ansible defaults. --- ansible/templates/env | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ansible/templates/env b/ansible/templates/env index c3f8c06..6ffa681 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