Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

179 lines (151 sloc) 4.42 kb
---
# 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
Jump to Line
Something went wrong with that request. Please try again.