Skip to content

Commit 7e4a6f8

Browse files
committed
feature #393 [Examples] Improve mongodb (Guikingone)
This PR was squashed before being merged into the main branch. Discussion ---------- [Examples] Improve mongodb | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | Docs? | no | Issues | None | License | MIT Hi 👋🏻 As discussed in #335, here's the update for `MongoDB` in example (both `.env` and package). Commits ------- f7394ad [Examples] Improve mongodb
2 parents 4f83f33 + f7394ad commit 7e4a6f8

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

examples/.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ FIRECRAWL_HOST=https://api.firecrawl.dev
6161
FIRECRAWL_API_KEY=
6262

6363
# For using MongoDB Atlas (store)
64-
MONGODB_URI=
64+
MONGODB_URI=mongodb://symfony:[email protected]:27017
6565

6666
# For using Pinecone (store)
6767
PINECONE_API_KEY=

examples/compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ services:
4040
MONGODB_INITDB_ROOT_USERNAME: symfony
4141
MONGODB_INITDB_ROOT_PASSWORD: symfony
4242
ports:
43-
- '27018:27017'
43+
- '27017:27017'
4444

4545
# Milvus services
4646
etcd:

examples/composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"codewithkyrian/transformers": "^0.6.1",
1111
"doctrine/dbal": "^3.3|^4.0",
1212
"google/auth": "^1.47",
13+
"mongodb/mongodb": "^2.1",
1314
"mrmysql/youtube-transcript": "^0.0.5",
1415
"php-http/discovery": "^1.20",
1516
"probots-io/pinecone-php": "^1.1",

0 commit comments

Comments
 (0)