Skip to content
This repository has been archived by the owner on Aug 28, 2021. It is now read-only.

Commit

Permalink
one small typo, one big headache
Browse files Browse the repository at this point in the history
  • Loading branch information
didimitrie committed Jun 23, 2018
1 parent abb579f commit 926951c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ services:
- SESSION_SECRET=helloworld
- REQ_SIZE=16mb
- INDENT_RESPONSES=false
- MONGO_URI=mongodb://mongo:27017/speckle_docker
- MONGODB_URI=mongodb://mongo:27017/speckle_docker
- REDIS_URL=redis://redis:6379
links:
- redis
Expand Down
1 change: 1 addition & 0 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ if ( cluster.isMaster ) {
/// Mongo handlers /////.
////////////////////////////////////////////////////////////////////////
mongoose.Promise = global.Promise

mongoose.connect( process.env.MONGODB_URI, { auto_reconnect: true, reconnectTries: 5, keepAlive: 10 }, ( err ) => {
if ( err ) throw err
else winston.debug( 'connected to mongoose at ' + process.env.MONGODB_URI )
Expand Down

0 comments on commit 926951c

Please sign in to comment.