summaryrefslogtreecommitdiff
path: root/provider_base/services/webapp.json
blob: bdef57616c7396b6e9f5cbfb474a75e4ca0031db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
  "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,
    "ca_cert": "= file :ca_cert, :missing => 'provider CA. Run `leap init-ca`'",
    "commercial_cert": "= file [:commercial_cert, global.provider.domain]",
    "commercial_key": "= file [:commercial_key, global.provider.domain]",
    "commercial_ca_cert": "= try_file :commercial_ca_cert"
  }
}