-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js.template
94 lines (84 loc) · 2.48 KB
/
config.js.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
var config = {};
config.adminUsers = {"user": {password: "pass", isAdmin: "false"}};
config.accountServer = 'account.lab.fi-ware.org';
// OAUTH Cloud credentials in the Account server
config.client_id = '';
config.client_secret = '';
config.ac = {
host: '',
path: '/authzforce/domains/[DOMAIN]/pdp',
key: '../ssl/key.pem',
cert: '../ssl/cert.pem',
ca: '../ssl/taz-ca-cert.pem'
};
config.serviceTenantName = "";
//Mysql db config:
config.db = {
host : 'localhost',
user : '',
password : '',
database : 'keystone_proxy'
};
config.tenant_maping_required = false;
//Expiration time in minutes
config.token_expiration_time = 1440;
config.serviceCatalog = [
{"endpoints":
[
{"adminURL": "http://cloud.lab.fi-ware.org:8774/v2/$(tenant_id)s",
"region": "RegionOne",
"internalURL": "http://cloud.lab.fi-ware.org:8774/v2/$(tenant_id)s",
"publicURL": "http://cloud.lab.fi-ware.org:8774/v2/$(tenant_id)s"}
],
"endpoints_links": [],
"type": "compute",
"name": "nova"
},
{"endpoints":
[
{"adminURL": "http://172.30.1.204:9292/v1",
"region": "RegionOne",
"internalURL": "http://172.30.1.204:9292/v1",
"publicURL": "http://172.30.1.204:9292/v1"
}
],
"endpoints_links": [],
"type": "image",
"name": "glance"
},
{"endpoints": [
{"adminURL": "http://cloud.lab.fi-ware.org:8776/v1/$(tenant_id)s",
"region": "RegionOne",
"internalURL": "http://cloud.lab.fi-ware.org:8776/v1/$(tenant_id)s",
"publicURL": "http://cloud.lab.fi-ware.org:8776/v1/$(tenant_id)s"
}
],
"endpoints_links": [],
"type": "volume",
"name": "volume"
},
{"endpoints": [
{"adminURL": "http://130.206.82.9:8080/v1",
"region": "RegionOne",
"internalURL": "http://130.206.82.9:8080/v1/AUTH_$(tenant_id)s",
"publicURL": "http://130.206.82.9:8080/v1/AUTH_$(tenant_id)s"
}
],
"endpoints_links": [],
"type": "object-store",
"name": "swift"
},
{"endpoints": [
{"adminURL": "http://localhost:4731/v2.0",
"region": "RegionOne",
"internalURL": "http://localhost:4730/v2.0",
"publicURL": "http://localhost:4730/v2.0"
}
],
"endpoints_links": [],
"type": "identity",
"name": "keystone"
}
];
config.time_stats_logger = true;
module.exports = config;