-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnotes
More file actions
82 lines (72 loc) · 1.27 KB
/
notes
File metadata and controls
82 lines (72 loc) · 1.27 KB
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
{
domain: 'cloud-launcher.io',
root: 'https://github.com/cloud-launcher_io',
authorizations: ['ssh keys'],
locations: {
digitalocean: ['sfo1']
},
configuration: {
bridge: 1,
www: 1,
api: 1,
influxdb: 1
},
roles: {
all: ['cadvisor', 'etcd']
},
containers: {
cadvisor: {
container: 'google/cadvisor',
linkTo: 'influxdb'
},
etcd: {
container: 'coreos/etcd',
linkTo: 'etcd'
},
bridge: {
linkTo: 'api'
},
www: {
linkTo: 'api'
},
influxdb: {
container
}
}
}
configuration: {
bridge: 1,
www: 1,
api: 1,
influxdb: 1
},
configuration: {
www: [2, {
haproxy: 1,
www: 5
}],
bridge: 1,
www: 1,
api: 1,
influxdb: 1
},
##Configuration Name Resolution
1. Role Name
2. Container Name (in `containers` key)
3. if (contains '/') prepend external registry (eg. Docker)
4. if (no '/') prepend root
5. if (URL)
Resolves to: 'http://root.com/bridge'
{
root: 'http://root.com',
configuration: {
bridge: 1
}
}
Resolves to: 'http://registry.docker.org/google/cadvisor'
{
root: 'http://root.com',
configuration: {
'google/cadvisor': 1
}
}