diff --git a/questions/services/question-data-service.js b/questions/services/question-data-service.js index 2fdd31ba..3f6cc6d7 100644 --- a/questions/services/question-data-service.js +++ b/questions/services/question-data-service.js @@ -3,7 +3,7 @@ const Question = require('./question-data-model'); require('dotenv').config(); //TODO:DATABASE_URI has value but do not work -const uri = process.env.DATABASE_URI || 'mongodb://localhost:27017/questionDB'; +const uri = process.env.DATABASE_URI || 'mongodb'; mongoose.connect(uri); module.exports = { @@ -126,4 +126,4 @@ module.exports = { } }, -}; \ No newline at end of file +};