{"action":"opened","issue":{"url":"https://api.github.com/repos/bigcompany/hook.io/issues/252","repository_url":"https://api.github.com/repos/bigcompany/hook.io","labels_url":"https://api.github.com/repos/bigcompany/hook.io/issues/252/labels{/name}","comments_url":"https://api.github.com/repos/bigcompany/hook.io/issues/252/comments","events_url":"https://api.github.com/repos/bigcompany/hook.io/issues/252/events","html_url":"https://github.com/bigcompany/hook.io/issues/252","id":161190682,"number":252,"title":"docker setup on local is not working.","user":{"login":"muthusk","id":5204462,"avatar_url":"https://avatars.githubusercontent.com/u/5204462?v=3","gravatar_id":"","url":"https://api.github.com/users/muthusk","html_url":"https://github.com/muthusk","followers_url":"https://api.github.com/users/muthusk/followers","following_url":"https://api.github.com/users/muthusk/following{/other_user}","gists_url":"https://api.github.com/users/muthusk/gists{/gist_id}","starred_url":"https://api.github.com/users/muthusk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muthusk/subscriptions","organizations_url":"https://api.github.com/users/muthusk/orgs","repos_url":"https://api.github.com/users/muthusk/repos","events_url":"https://api.github.com/users/muthusk/events{/privacy}","received_events_url":"https://api.github.com/users/muthusk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-20T13:07:08Z","updated_at":"2016-06-20T13:07:08Z","closed_at":null,"body":"After couchdb and redis have come up docker-compose up throws the follow error. \r\nplease suggest a solution.\r\n\r\nhookio_1                 | /src/bin/server:2\r\nhookio_1                 | server.start({}, function(err, app){\r\nhookio_1                 |        ^\r\nhookio_1                 | TypeError: undefined is not a function\r\nhookio_1                 |     at Object.<anonymous> (/src/bin/server:2:8)\r\nhookio_1                 |     at Module._compile (module.js:460:26)\r\nhookio_1                 |     at Object.Module._extensions..js (module.js:478:10)\r\nhookio_1                 |     at Module.load (module.js:355:32)\r\nhookio_1                 |     at Function.Module._load (module.js:310:12)\r\nhookio_1                 |     at Function.Module.runMain (module.js:501:10)\r\nhookio_1                 |     at startup (node.js:129:16)\r\nhookio_1                 |     at node.js:814:3\r\nhookio_hookio_1 exited with code 1\r\nworker0_1                | /src/node_modules/oys/config/production/index.js:24\r\nworker0_1                |   username: \"admin\",\r\nworker0_1                |   ^^^^^^^^\r\nworker0_1                | SyntaxError: Unexpected identifier\r\nworker0_1                |     at exports.runInThisContext (vm.js:73:16)\r\nworker0_1                |     at Module._compile (module.js:443:25)\r\nworker0_1                |     at Object.Module._extensions..js (module.js:478:10)\r\nworker0_1                |     at Module.load (module.js:355:32)\r\nworker0_1                |     at Function.Module._load (module.js:310:12)\r\nworker0_1                |     at Module.require (module.js:365:17)\r\nworker0_1                |     at require (module.js:384:17)\r\nworker0_1                |     at Object.<anonymous> (/src/node_modules/oys/config/index.js:3:18)\r\nworker0_1                |     at Module._compile (module.js:460:26)\r\nworker0_1                |     at Object.Module._extensions..js (module.js:478:10)\r\ninstall_default_hooks_1  | Error Error: Redis connection to redis:6379 failed - getaddrinfo ENOTFOUND redis\r\ninstall_default_hooks_1  | Error: Error: Redis connection to redis:6379 failed - getaddrinfo ENOTFOUND redis\r\ninstall_default_hooks_1  | Error Error: Redis connection to redis:6379 failed - getaddrinfo ENOTFOUND redis\r\ninstall_default_hooks_1  | Error Error: Redis connection to redis:6379 failed - getaddrinfo ENOTFOUND redis\r\ninstall_default_hooks_1  | Error Error: Redis connection to redis:6379 failed - getaddrinfo ENOTFOUND redis\r\ninstall_default_hooks_1  | Error: Error: Redis connection to redis:6379 failed - getaddrinfo ENOTFOUND redis\r\ncouch_1                  | [error] [<0.153.0>] Could not open file /usr/local/var/lib/couchdb/hook.couch: no such file or directory\r\ncouch_1                  | [info] [<0.104.0>] 172.17.0.4 - - GET /hook/_design/nano 404\r\ncouch_1                  | [error] [<0.158.0>] Could not open file /usr/local/var/lib/couchdb/hook.couch: no such file or directory\r\ncouch_1                  | [info] [<0.105.0>] 172.17.0.4 - - PUT /hook/_design/nano 404\r\ncouch_1                  | [error] [<0.162.0>] Could not open file /usr/local/var/lib/couchdb/hook.couch: no such file or directory\r\ncouch_1                  | [info] [<0.106.0>] 172.17.0.4 - - POST /hook/_design/nano/_view/by_model?include_docs=true 404\r\ninstall_default_hooks_1  | /src/scripts/install/add-default-hooks.js:41\r\ninstall_default_hooks_1  |       throw err;\r\ninstall_default_hooks_1  |             ^\r\ninstall_default_hooks_1  | Error: no_db_file\r\ninstall_default_hooks_1  |     at Request._callback (/src/node_modules/jugglingdb-nano/node_modules/nano/nano.js:304:39)\r\ninstall_default_hooks_1  |     at Request.self.callback (/src/node_modules/jugglingdb-nano/node_modules/nano/node_modules/request/request.js:129:22)\r\ninstall_default_hooks_1  |     at Request.emit (events.js:110:17)\r\ninstall_default_hooks_1  |     at Request.<anonymous> (/src/node_modules/jugglingdb-nano/node_modules/nano/node_modules/request/request.js:873:14)\r\ninstall_default_hooks_1  |     at Request.emit (events.js:129:20)\r\ninstall_default_hooks_1  |     at IncomingMessage.<anonymous> (/src/node_modules/jugglingdb-nano/node_modules/nano/node_modules/request/request.js:824:12)\r\ninstall_default_hooks_1  |     at IncomingMessage.emit (events.js:129:20)\r\ninstall_default_hooks_1  |     at _stream_readable.js:908:16\r\ninstall_default_hooks_1  |     at process._tickCallback (node.js:355:11)\r\nhookio_worker0_1 exited with code 1\r\nhookio_install_default_hooks_1 exited with code 1\r\n"}}
{"actor":{"display_login":"muthusk"}}