This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cf push | |
Name> sinatra | |
Instances> 1 | |
1: 128M | |
2: 256M | |
3: 512M | |
4: 1G | |
Memory Limit> 256M |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# 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 Health Manager. Default | |
# value of nil, should work in most cases. | |
local_route: 127.0.0.1 | |
# NATS message bus URI, adjust as needed. | |
# Can be overriden with NATS_URI env variable. | |
mbus: nats://127.0.0.1:4222/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# See src/lib/dea/config.rb for optional config values. | |
# Base directory for dea, application directories, dea temp files, etc. are all relative to this. | |
base_dir: /tmp/dea_ng | |
domain: cloud.jemala.info | |
logging: | |
file: /vagrant/logs/dea_ng.log | |
level: debug2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
local_route: 127.0.0.1 | |
port: 8181 | |
pid_filename: /tmp/cloud_controller.pid | |
nats_uri: nats://127.0.0.1:4222 | |
message_bus_uri: nats://127.0.0.1:4222 | |
external_domain: | |
- api.cloud.jemala.info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{rabbit, [ | |
{heartbeat, 10}, | |
{auth_backends, [rabbit_auth_backend_ldap, rabbit_auth_backend_internal]} | |
]}, | |
{rabbitmq_auth_backend_ldap, [ | |
{servers, ["10.26.163.180"]}, | |
{dn_lookup_attribute, "uid"}, | |
{dn_lookup_base, "ou=Users,dc=example,dc=com"}, | |
{log, true}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* RequireJS mustache plugin | |
* | |
* usage: | |
* require(['ModuleA', 'mustache!myTemplate'], function (ModuleA, myTemplate) { | |
* var a = new ModuleA(); | |
* var html = myTemplate({foo: 'bar'}); | |
* | |
* $(a.el).html(html); | |
* }); |
NewerOlder