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

Commit

Permalink
fixes #90 🤞
Browse files Browse the repository at this point in the history
  • Loading branch information
didimitrie committed Jun 23, 2018
1 parent a8c3f92 commit e219507
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
14 changes: 9 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,16 @@ services:
- redis
- mongo
environment:
- SPECKLE_NAME=My Speckle Server
# Change the variable underneath as it will help users differentiate
# between multiple accounts.
- SPECKLE_NAME="Docker Speckle Server"
# This is used in the encryption of the api access tokens.
# Please change it to something random!
- SESSION_SECRET="helloworld"
- REQ_SIZE=16mb
- INDENT_RESPONSES=true
# If connecting to your own databses, uncomment & fill in the details!
# - MONGO_URI=
# - REDIS_URL=
- INDENT_RESPONSES=false
- MONGO_URI="mongodb://mongo:27017/speckle"
- REDIS_URL="redis://redis:6379"
links:
- redis
- mongo
Expand Down
4 changes: 1 addition & 3 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ if ( cluster.isMaster ) {

const configResult = require( 'dotenv' ).config( )
if ( configResult.error ) {
winston.debug( 'There is an error in the .env configuration file.' )
winston.debug( configResult.error )
return
winston.debug( chalk.red( 'There is an error in the .env configuration file. Will use the default provided ones (if any).' ) )
}

let osCpus = require( 'os' ).cpus( ).length
Expand Down

0 comments on commit e219507

Please sign in to comment.