forked from tjmehta/airfield
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.js
43 lines (41 loc) · 1.08 KB
/
settings.js
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
/*
settings.js
You should set these before use
Username
Username of airfield
Password
Password of airfield
Port
Port of airfield
cookieSecret
secret which is used to encrypt cookies
sessionSecret
^ same than earlier but for sessions
enable_openstack
If you want to enable openstack support then change this to true
os_api_username
Openstack username (only required if openstack is enabled)
os_api_password
Openstack password (only required if openstack is enabled)
os_api_tenant
Airfield is fetching info about every instance but this is needed for authentication
os_keystone_url
Keystone api url
os_nova_url
Nova api url
*/
exports.settings = {
username: "admin",
password: "kissa2",
port: 3000,
cookieSecret: "thisissecret",
sessionSecret: "secretisthistoo",
enable_openstack: false,
os_api_username: "admin",
os_api_password: "goodopenstackpassword",
os_api_tenant: "tenantidofinstances",
os_keystone_url: "http://10.0.0.1:5000",
os_nova_url: "http://10.0.0.1:8774",
REDIS_PORT: 6379,
REDIS_HOST: '127.0.0.1'
};