summaryrefslogtreecommitdiff
path: root/provider_base/services/webapp.json
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2012-11-14 23:49:56 -0800
committerelijah <elijah@riseup.net>2012-11-14 23:49:56 -0800
commitac74640c5f4a65f8f117deeaed8d1cd29a22bc3c (patch)
tree11154d40873711b150f861b67c14c3916f3b4498 /provider_base/services/webapp.json
parentbc5906cacdd6cfd236a66a717dcba7263ff39605 (diff)
added provider_base (latest leap_cli required)
Diffstat (limited to 'provider_base/services/webapp.json')
-rw-r--r--provider_base/services/webapp.json19
1 files changed, 19 insertions, 0 deletions
diff --git a/provider_base/services/webapp.json b/provider_base/services/webapp.json
new file mode 100644
index 00000000..6e5c029c
--- /dev/null
+++ b/provider_base/services/webapp.json
@@ -0,0 +1,19 @@
+{
+ "webapp": {
+ "modules": ["user", "billing", "help"],
+ "couchdb_hosts": "= nodes[:services => :couchdb].field('domain.name')",
+ "couchdb_user": "= global.services[:couchdb].couch.users[:webapp]"
+ },
+ "definition_files": {
+ "provider": "= file('service-definitions/provider.json.erb')",
+ "eip_service": "file('service-definitions/eip-service.json.erb')"
+ },
+ "service_type": "public_service",
+ "api_domain": "= 'api.' + domain.full_suffix",
+ "dns": {
+ "aliases": "= [domain.full, api_domain]"
+ },
+ "x509": {
+ "use": true
+ }
+} \ No newline at end of file