forked from cloudfoundry/bosh-deployment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bosh-lite-docker.yml
99 lines (89 loc) · 2.27 KB
/
bosh-lite-docker.yml
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
95
96
97
98
99
- type: replace
path: /releases/-
value:
name: bosh-docker-cpi
version: 0.0.2
url: https://bosh.io/d/github.com/cppforlife/bosh-docker-cpi-release?v=0.0.2
sha1: a0068cca7ae596ce37b64cfb26412200bcb22890
- type: replace
path: /releases/-
value:
name: docker
version: 0.0.2
url: https://bosh.io/d/github.com/cppforlife/docker-release?v=0.0.2
sha1: dc08a8ed5e4865fd7846c4d40649a6e9fe43a6b9
- type: replace
path: /releases/name=os-conf?
value:
name: os-conf
version: 12
url: https://bosh.io/d/github.com/cloudfoundry/os-conf-release?v=12
sha1: af5a2c9f228b9d7ec4bd051d71fef0e712fa1549
- type: replace
path: /instance_groups/name=bosh/jobs/-
value:
name: docker_cpi
release: bosh-docker-cpi
properties:
docker_cpi:
host_ip: 10.254.50.4
docker:
host: tcp://127.0.0.1:4243
tls: ((docker_client_tls))
agent: # todo remove
mbus: nats://nats:((nats_password))@10.254.50.4:4222
blobstore:
provider: dav
options:
endpoint: http://10.254.50.4:25250
user: agent
password: ((blobstore_agent_password))
- type: replace
path: /instance_groups/name=bosh/jobs/-
value:
name: docker
release: docker
properties:
listen_address: 127.0.0.1 # todo should default in the release
tls: ((docker_server_tls))
- type: replace
path: /instance_groups/name=bosh/jobs/-
value:
name: disable_agent
release: os-conf
- type: replace
path: /instance_groups/name=bosh/properties/director/cpi_job?
value: docker_cpi
- type: replace
path: /disk_pools/name=disks/disk_size
value: 65_536
# Generate Docker certs
- type: replace
path: /variables/-
value:
name: docker_ca
type: certificate
options:
is_ca: true
common_name: docker_ca
- type: replace
path: /variables/-
value:
name: docker_server_tls
type: certificate
options:
ca: docker_ca
common_name: 127.0.0.1
alternative_names: [127.0.0.1]
extended_key_usage:
- server_auth
- type: replace
path: /variables/-
value:
name: docker_client_tls
type: certificate
options:
ca: docker_ca
common_name: client
extended_key_usage:
- client_auth