This repository has been archived by the owner on Jan 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
/
cloud_controller.yml
178 lines (151 loc) · 4.32 KB
/
cloud_controller.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
---
# Cloud Controller URI
external_uri: api.vcap.me
description: "VMware's Cloud Application Platform"
support_address: http://support.cloudfoundry.com
# local_route is the IP address of a well known server on your network, it
# is used to choose the right ip address (think of hosts that have multiple nics
# and IP addresses assigned to them) of the host running the cloud controller. Default
# value of nil, should work in most cases.
local_route: 127.0.0.1
# Specifies if new users are allowed to register via VMC
allow_registration: true
# Allow applications to register URIs that are outside your domain.
# Legacy (FIXME REMOVE)
allow_external_app_uris: false
# This dicatates what the uri namespace rules
# are for apps. Admins can overide any of the
# below accept taking a used uri.
app_uris:
# Allow applications to register URIs that are outside your domain.
allow_external: false
# reserved_file:
# reserved_list: [www, test, dash, register, foo, bar]
# reserved_length: 3
external_port: 9022 #public CC port
# nginx proxy provide multiple functions including offloading of file uploads/downloads.
nginx:
use_nginx: false # nginx proxy in front of CC?
# instance_socket: /tmp/cloud_controller.sock
insecure_instance_port: 9025 # debug only!!!! -- not for production use.
# if log_file is set, it must be a fully-qualified path,
# because the bin/vcap script reads it directly from the file.
logging:
level: debug2
# file:
# Settings for the rails logger
rails_logging:
level: debug
# file:
redis:
host: 127.0.0.1
port: 5454
# password:
directories:
droplets: /var/vcap/shared/droplets
resources: /var/vcap/shared/resources
# set to true to prevent filesystem resource leaks
# nukes tmpdir on startup -- be careful!
nuke_tmp_on_startup: false
tmpdir: /var/vcap/data/cloud_controller/tmp
# NATS message bus URI
mbus: nats://localhost:4222/
keys:
password: 'password key goes here'
token: 'token key goes here'
token_expiration: 604800 # 7 * 24 * 60 * 60 (= 1 week)
pid: /var/vcap/sys/run/cloudcontroller.pid
rails_environment: development
database_environment: # replaces database.yml
production:
database: cloudcontroller
host: localhost
port: 5432
encoding: utf8
username: postgres
password: postgres
adapter: postgresql
timeout: 2000
template: template0 # Required for utf8 encoding
development:
adapter: sqlite3
database: db/cloudcontroller.sqlite3
encoding: utf8
test:
adapter: sqlite3
database: db/test.sqlite3
encoding: utf8
# Enable the use of the uaa
uaa:
enabled: true
url: http://uaa.vcap.me
resource_id: cloud_controller
token_secret: tokensecret
client_secret: cloudcontrollerclientsecret
token_creation_email_filter: [""]
# App staging parameters
staging:
max_concurrent_stagers: 10
# Max duration for staging process
max_staging_runtime: 120 # secs
# Create a secure environment for staging
secure: false
new_stager_percent: 0
auth:
user: zxsfhgjg
password: ZNVfdase9
# admin support
admins: [derek@gmail.com, foobar@vmware.com]
https_required: false
https_required_for_admins: false
# Controls the amount of resources assigned to a user
# Normal user accounts
default_account_capacity:
memory: 2048
app_uris: 4
services: 16
apps: 20
# Services we provide, and their tokens. Avoids bootstrapping DB.
builtin_services:
mysql:
token: "0xdeadbeef"
postgresql:
token: "0xdeadbeef"
redis:
token: "0xdeadbeef"
mongodb:
token: "0xdeadbeef"
rabbitmq:
token: "0xdeadbeef"
neo4j:
token: "0xdeadbeef"
atmos:
token: "0xdeadbeef"
filesystem:
token: "0xdeadbeef"
blob:
token: "0xdeadbeef"
# Service proxy (broker / marketplace)
service_proxy:
token: ["0xdeadbeef"]
# lifecycle
service_lifecycle:
max_upload_size: 1 # in MB
upload_token: dlfoosecret
upload_timeout: 60
serialization_data_server:
- 127.0.0.1:8080
# Enable/disable starting apps in debug modes.
allow_debug: true
# Enable new initial placement protocol.
new_initial_placement: true
# allows partitioning cc pool for the purpose of AB testing,
# gradual migration, etc
cc_partition: default
# Used for /healthz and /vars endpoints. If not provided random
# values will be generated on component start. Uncomment to use
# static values.
#status:
# port: 34500
# user: thin
# password: thin