We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 103e87a commit f9dd6e3Copy full SHA for f9dd6e3
test_project/test_project/settings.py
@@ -206,6 +206,24 @@
206
207
MODOBOA_API_URL = 'https://api.modoboa.org/1/'
208
209
+# REDIS
210
+
211
+REDIS_HOST = os.environ.get('REDIS_HOST', '127.0.0.1')
212
+REDIS_PORT = os.environ.get('REDIS_PORT', 6379)
213
+REDIS_QUOTA_DB = 0
214
+REDIS_URL = 'redis://{}:{}/{}'.format(REDIS_HOST, REDIS_PORT, REDIS_QUOTA_DB)
215
216
+# RQ
217
218
+RQ_QUEUES = {
219
+ 'dkim': {
220
+ 'URL': REDIS_URL,
221
+ },
222
+ 'modoboa': {
223
224
225
+}
226
227
# Password validation
228
# https://docs.djangoproject.com/en/1.11/ref/settings/#auth-password-validators
229
0 commit comments