Skip to content

Instantly share code, notes, and snippets.

View michaljemala's full-sized avatar
🕵️‍♂️
Looking for a passionate engineering team lead

Michal Jemala michaljemala

🕵️‍♂️
Looking for a passionate engineering team lead
  • Bratislava, Slovakia
View GitHub Profile
$ cf push
Name> sinatra
Instances> 1
1: 128M
2: 256M
3: 512M
4: 1G
Memory Limit> 256M
---
# 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/
# 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
---
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
[
{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},
/**
* RequireJS mustache plugin
*
* usage:
* require(['ModuleA', 'mustache!myTemplate'], function (ModuleA, myTemplate) {
* var a = new ModuleA();
* var html = myTemplate({foo: 'bar'});
*
* $(a.el).html(html);
* });