Attempt #1 to auto compile MongoDB into the build to exclude it from the compose.

This commit is contained in:
Karmaa committed 2025-03-16 13:07:18 -05:00
1 parent b585c95b25
commit aa95fee450
3 files changed
+26 -11

No files matched your search

+1 -1
View File
@@ -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));