WIP: new policy daemon.

This commit is contained in:
Antoine Nguyen
2020-06-12 17:59:06 +02:00
parent 3829e683ab
commit 4053204c38
29 changed files with 791 additions and 18 deletions
+7
View File
@@ -0,0 +1,7 @@
version: '3'
services:
redis:
image: redis:5-alpine
ports:
- 6379:6379
+8
View File
@@ -78,6 +78,7 @@ MODOBOA_APPS = (
'modoboa.limits',
'modoboa.parameters',
'modoboa.dnstools',
'modoboa.policyd',
# Modoboa extensions here.
)
@@ -186,6 +187,13 @@ REST_FRAMEWORK = {
MODOBOA_API_URL = 'https://api.modoboa.org/1/'
# REDIS
REDIS_URL = 'redis://localhost/0'
REDIS_HOST = 'localhost'
REDIS_PORT = 6379
REDIS_QUOTA_DB = 0
# Password validation
# https://docs.djangoproject.com/en/2.2/ref/settings/#auth-password-validators