Skip to content

Commit

Permalink
#102 need to be using bootstrap mode with cueball / moray-client v2
Browse files Browse the repository at this point in the history
  • Loading branch information
arekinath committed Dec 2, 2016
1 parent 2c4c350 commit 05fe07c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/docker.js
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,10 @@ App.prototype.createMorayClient = function createMorayClient() {
host: self.config.moray.host,
noCache: true,
port: self.config.moray.port,
reconnect: true
reconnect: true,
dns: {
resolvers: [self.config.binder.domain]
}
};

self.log.debug(conf, 'Creating moray client');
Expand Down
3 changes: 3 additions & 0 deletions sapi_manifests/docker/template
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
"host": "{{{MORAY_SERVICE}}}",
"port": 2020
},
"binder": {
"domain": "{{{BINDER_SERVICE}}}"
},
"fwapi": {
"url": "http://fwapi.{{{datacenter_name}}}.{{{dns_domain}}}"
},
Expand Down

0 comments on commit 05fe07c

Please sign in to comment.