This repository has been archived by the owner on Nov 3, 2021. It is now read-only.
forked from cloudfoundry/cloud_controller_ng
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbosh-lite.yml
280 lines (232 loc) · 7.86 KB
/
bosh-lite.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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
---
local_route: 192.168.50.1
external_port: 9022
tls_port: 9023
internal_service_hostname: cloud-controller-ng.service.cf.internal
pid_filename: /tmp/cloud_controller.pid
newrelic_enabled: false
external_protocol: https
external_domain: api.bosh-lite.com
system_domain_organization:
system_domain: bosh-lite.com
app_domains:
- name: bosh-lite.com
jobs:
global:
timeout_in_seconds: 14400
app_usage_events:
cutoff_age_in_days: 31
service_usage_events:
cutoff_age_in_days: 31
audit_events:
cutoff_age_in_days: 31
failed_jobs:
cutoff_age_in_days: 31
completed_tasks:
cutoff_age_in_days: 31
default_app_memory: 256
default_app_disk_in_mb: 1024
maximum_app_disk_in_mb: 2048
instance_file_descriptor_limit: 16384
request_timeout_in_seconds: 900
bulk_api:
auth_user: bulk_api
auth_password: "bulk-password"
internal_api:
auth_user: internal_user
auth_password: "internal-password"
nginx:
use_nginx: false
instance_socket: "/var/vcap/sys/run/cloud_controller_ng/cloud_controller.sock"
index: 0
name: api_z1
route_services_enabled: true
volume_services_enabled: true
info:
name: ""
build: ""
version: 0
support_address: "http://support.cloudfoundry.com"
description: ""
app_ssh_endpoint: ssh.bosh-lite.com:2222
app_ssh_host_key_fingerprint: a6:d1:08:0b:b0:cb:9b:5f:c4:ba:44:2a:97:26:19:8a
app_ssh_oauth_client: ssh-proxy
logging:
file: /tmp/cloud_controller.log
level: debug2
loggregator:
router: 127.0.0.1:3457
internal_url: 'http://loggregator-trafficcontroller.service.cf.internal:8081'
doppler:
url: wss://doppler.bosh-lite.com:443
db: &db
database: postgres://ccadmin:admin@10.244.0.30:5524/ccdb
max_connections: 25
pool_timeout: 10
log_level: debug2
read_timeout: 3600
connection_validation_timeout: 3600
login:
url: https://login.bosh-lite.com
uaa:
url: https://uaa.bosh-lite.com
internal_url: https://uaa.service.cf.internal:8443
resource_id: cloud_controller,cloud_controller_service_permissions
verification_key: |
-----BEGIN PUBLIC KEY-----
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDHFr+KICms+tuT1OXJwhCUmR2d
KVy7psa8xzElSyzqx7oJyfJ1JZyOzToj9T5SfTIq396agbHJWVfYphNahvZ/7uMX
qHxf+ZH9BL1gk9Y6kCnbM5R60gfwjyW1/dQPjOzn9N394zd2FJoFHwdq9Qs0wBug
spULZVNRxq7veq/fzwIDAQAB
-----END PUBLIC KEY-----
ca_file: "spec/fixtures/certs/uaa_ca.crt"
# App staging parameters
staging:
timeout_in_seconds: 900
minimum_staging_memory_mb: 1024
minimum_staging_disk_mb: 4096
minimum_staging_file_descriptor_limit: 16384
auth:
user: upload-user
password: "upload-password"
default_health_check_timeout: 60
maximum_health_check_timeout: 180
quota_definitions:
default:
memory_limit: 10240
non_basic_services_allowed: true
total_routes: 1000
total_service_keys: 1000
total_services: 100
default_quota_definition: default
resource_pool:
blobstore_type: webdav
webdav_config:
blobstore_timeout: 5
public_endpoint: http://blobstore.bosh-lite.com
private_endpoint: https://blobstore.service.cf.internal:4443
username: blobstore-username
password: blobstore-password
minimum_size: 65536
maximum_size: 536870912
resource_directory_key: bosh-lite.com-cc-resources
cdn:
uri:
key_pair_id:
private_key: ""
fog_connection: {}
packages:
blobstore_type: webdav
webdav_config:
blobstore_timeout: 5
public_endpoint: http://blobstore.bosh-lite.com
private_endpoint: https://blobstore.service.cf.internal:4443
username: blobstore-username
password: blobstore-password
app_package_directory_key: bosh-lite.com-cc-packages
max_valid_packages_stored: 5
max_package_size: 1073741824
cdn:
uri:
key_pair_id:
private_key: ""
fog_connection: {}
droplets:
blobstore_type: webdav
webdav_config:
blobstore_timeout: 5
public_endpoint: http://blobstore.bosh-lite.com
private_endpoint: https://blobstore.service.cf.internal:4443
username: blobstore-username
password: blobstore-password
droplet_directory_key: bosh-lite.com-cc-droplets
cdn:
uri:
key_pair_id:
private_key: ""
fog_connection: {}
max_staged_droplets_stored: 5
buildpacks:
blobstore_type: webdav
webdav_config:
blobstore_timeout: 5
public_endpoint: http://blobstore.bosh-lite.com
private_endpoint: https://blobstore.service.cf.internal:4443
username: blobstore-username
password: blobstore-password
buildpack_directory_key: bosh-lite.com-cc-buildpacks
cdn:
uri:
key_pair_id:
private_key: ""
fog_connection: {}
db_encryption_key: db-encryption-key
disable_custom_buildpacks: false
broker_client_timeout_seconds: 70
broker_client_default_async_poll_interval_seconds: 60
broker_client_max_async_poll_duration_minutes: 10080
renderer:
max_results_per_page: 100
default_results_per_page: 50
max_inline_relations_depth: 2
uaa_client_name: "cc-service-dashboards"
uaa_client_secret: cc-broker-secret
uaa_client_scope: openid,cloud_controller_service_permissions.read
cloud_controller_username_lookup_client_name: "cloud_controller_username_lookup"
cloud_controller_username_lookup_client_secret: cloud-controller-username-lookup-secret
allow_app_ssh_access: true
default_app_ssh_access: true
skip_cert_verify: true
install_buildpacks:
- name: staticfile_buildpack
package: staticfile-buildpack
- name: java_buildpack
package: buildpack_java
- name: ruby_buildpack
package: ruby-buildpack
- name: nodejs_buildpack
package: nodejs-buildpack
- name: go_buildpack
package: go-buildpack
- name: python_buildpack
package: python-buildpack
- name: php_buildpack
package: php-buildpack
- name: binary_buildpack
package: binary-buildpack
app_bits_upload_grace_period_in_seconds: 1200
security_group_definitions: [{"name":"public_networks","rules":[{"destination":"0.0.0.0-9.255.255.255","protocol":"all"},{"destination":"11.0.0.0-169.253.255.255","protocol":"all"},{"destination":"169.255.0.0-172.15.255.255","protocol":"all"},{"destination":"172.32.0.0-192.167.255.255","protocol":"all"},{"destination":"192.169.0.0-255.255.255.255","protocol":"all"}]},{"name":"dns","rules":[{"destination":"0.0.0.0/0","ports":"53","protocol":"tcp"},{"destination":"0.0.0.0/0","ports":"53","protocol":"udp"}]},{"name":"services","rules":[{"destination":"10.244.1.0/24","protocol":"all"},{"destination":"10.244.3.0/24","protocol":"all"}]},{"name":"load_balancer","rules":[{"destination":"10.244.0.34","protocol":"all"}]},{"name":"user_bosh_deployments","rules":[{"destination":"10.244.4.0-10.254.0.0","protocol":"all"}]}]
default_running_security_groups: ["public_networks","dns","services","load_balancer","user_bosh_deployments"]
default_staging_security_groups: ["public_networks","dns"]
allowed_cors_domains: []
system_hostnames: ["api", "uaa", "login", "doppler", "loggregator"]
rate_limiter:
enabled: false
general_limit: 2000
unauthenticated_limit: 100
reset_interval_in_minutes: 60
diego:
file_server_url: http://file-server.service.cf.internal:8080
cc_uploader_url: http://cc-uploader.service.cf.internal:9090
use_privileged_containers_for_running: false
use_privileged_containers_for_staging: false
lifecycle_bundles:
"buildpack/cflinuxfs2": "buildpack_app_lifecycle/buildpack_app_lifecycle.tgz"
"buildpack/windows2012R2": "windows_app_lifecycle/windows_app_lifecycle.tgz"
"buildpack/windows2016": "buildpack_app_lifecycle/buildpack_app_lifecycle.tgz"
"docker": "docker_app_lifecycle/docker_app_lifecycle.tgz"
insecure_docker_registry_list: []
docker_staging_stack: 'cflinuxfs2'
bbs:
url: https://bbs.service.cf.internal:8889
key_file: spec/fixtures/certs/bbs_client.key
cert_file: spec/fixtures/certs/bbs_client.crt
ca_file: spec/fixtures/certs/bbs_ca.crt
pid_limit: 1024
shared_isolation_segment_name: shared
bits_service:
enabled: false
public_endpoint: http://bits-service.bosh-lite.com
private_endpoint: http://bits-service.service.cf.internal
username: admin
password: admin