fix(docker): utiliser le port hôte 27018 pour mongo (hors plage 16 bits)

This commit is contained in:
devcodetools committed 2026-09-21 17:51:17 +02:00
1 parent b02f937c96
commit 4140942ae3
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ export class MongoCardRepository implements CardRepository {
this.collection = collection
} else {
const client = new MongoClient(
process.env.MONGODB_URI ?? 'mongodb://flashcards:flashcards@localhost:127017/flashcards',
process.env.MONGODB_URI ?? 'mongodb://flashcards:flashcards@localhost:27018/flashcards',
)
this.collection = client
.db(process.env.MONGODB_DATABASE ?? 'flashcards')