Attempt #1 to auto compile MongoDB into the build to exclude it from the compose.
This commit is contained in:
@@ -69,7 +69,7 @@ const decryptData = (encryptedData, userId, sessionToken) => {
|
||||
}
|
||||
};
|
||||
|
||||
mongoose.connect(process.env.MONGO_URL || 'mongodb://mongodb:27017/termix')
|
||||
mongoose.connect(process.env.MONGO_URL || 'mongodb://localhost:27017/termix')
|
||||
.then(() => logger.info('Connected to MongoDB'))
|
||||
.catch(err => logger.error('MongoDB connection error:', err));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user