Skip to content

Commit

Permalink
fix for docker mongo host error
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Rodriguez committed May 22, 2017
1 parent b0af773 commit 07f29da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conf-sample.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ var c = module.exports = {}

// mongo configuration
c.mongo = {}
c.mongo.host = 'localhost'
c.mongo.host = process.env.MONGODB_PORT_27017_TCP_ADDR || 'localhost'
c.mongo.port = 27017
c.mongo.db = 'zenbot4'
c.mongo.username = null
Expand Down

0 comments on commit 07f29da

Please sign in to comment.