summaryrefslogtreecommitdiff
path: root/provider_base/services
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2017-03-15 00:56:47 +0100
committervarac <varacanero@zeromail.org>2017-03-15 19:22:50 +0100
commit8c1c4c102936dd779c74d615763e7adef7033ec1 (patch)
tree67ef14ec1748ce68bc9751d2fa0d2a1bf9baf7f1 /provider_base/services
parent5035b80537d4f6d4f4d57a3a429d12fc4ca04d54 (diff)
Direct connection when couch runs locally
Diffstat (limited to 'provider_base/services')
-rw-r--r--provider_base/services/mx.json1
-rw-r--r--provider_base/services/webapp.json1
2 files changed, 2 insertions, 0 deletions
diff --git a/provider_base/services/mx.json b/provider_base/services/mx.json
index 17861d18..480d7c6e 100644
--- a/provider_base/services/mx.json
+++ b/provider_base/services/mx.json
@@ -24,6 +24,7 @@
"password": "= secret :couch_leap_mx_password",
"salt": "= hex_secret :couch_leap_mx_password_salt, 128"
},
+ "couchdb_port": "= couchdb_port",
"mynetworks": "= host_ips(nodes)",
"rbls": ["zen.spamhaus.org"],
"clamav": {
diff --git a/provider_base/services/webapp.json b/provider_base/services/webapp.json
index 0fd62795..064d5b1a 100644
--- a/provider_base/services/webapp.json
+++ b/provider_base/services/webapp.json
@@ -11,6 +11,7 @@
"tickets", "vmail", "www-data"],
"domain": "= provider.domain",
"modules": ["user", "billing", "help"],
+ "couchdb_port": "= couchdb_port",
"couchdb_webapp_user": "= global.services[:couchdb].couch.users[:webapp]",
"couchdb_admin_user": "= global.services[:couchdb].couch.users[:admin]",
"customization_dir": "= file_path 'webapp'",