fix(docker): utiliser le port hôte 27018 pour mongo (hors plage 16 bits)
This commit is contained in:
1 parent
b02f937c96
commit
4140942ae3
3 files changed
+4
-4
No files matched your search
@@ -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')
|
||||
|
||||
Reference in new issue
Block a user