Questions tagged [mongodb]
9 questions
3
votes
1 answer
Ansible playbook error: Collection' object is not callable
I am learning ansible on my local vagrant vm machine and I am setting up mongodb using ansible and I keep getting the error:
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TypeError: 'Collection'…
George Udosen
- 133
- 7
1
vote
0 answers
OpenTelemetry context propagation via database
This is more of a design question rather than a technical issue.
I have two services and a MongoDB database.
Both of the services are connected to the database.
Service A is the user-facing API that CRUDs the database state.
Service B is the backend…
Emil Relecto
- 11
- 1
1
vote
1 answer
Can't connect to local mongoDB from Docker Container
I have mongodb running in the host machine (Ubuntu 23.04) in the default port. I have set the bind_ip to be 0.0.0.0. In my docker-compose file, I have added
extra_hosts:
- "host.docker.internal:host-gateway"
And, I have my mongodb URI as…
Equation_Charmer
- 61
- 5
0
votes
0 answers
Testing with nodejs and inmemory mongodb cache with bitbucket pipelines
i try to automatize my nodejs test in the bitbucket pipeline for create test and deploy logic
i already create my soluction but in not confidet it's the best way; i hask if someone have tips or advise for improve my soluction
DEPENDENCE
I use…
Francesco
- 1
- 1
0
votes
1 answer
How to get all the env variables of any docker image?
I am unable to get all the env variables even after the docker inspect command it just shows only this much when I inspected the mongo:4 image.
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
…
0
votes
1 answer
The best practice to set up cpanel with mongoDB on a cloud server!
I'm trying to set up my cloud server so i can run an app made with nodeJs and mongoDB, now for nodeJs my setup is to deploy it using cpanel on a cenos 7 os and since cpanel does not really support mongoDB i wonder what's the best practice to deploy…
devopsNovice00
- 103
- 1
0
votes
1 answer
How to update nested arrays in mongodb database
I have this mongodb schema:
{
"bsonType": "object",
"required": [
"group_wallet_id", "categories",
"total_donations", "created_at"
],
"properties": {
"group_wallet_id": {
"bsonType": "objectId",
…
George Udosen
- 133
- 7
0
votes
1 answer
SubnetsHaveNoServiceEndpointsConfigured error when deplying cosmosdb account
I'm trying to deploy cosmosdb account with mongodb on azure with terraform.
But 'terraform apply' times out with SubnetsHaveNoServiceEndpointsConfigured error.
Error: creating CosmosDB Account "geo-db-2pv0c" (Resource Group
"geo"): waiting for the…
Serve Laurijssen
- 594
- 2
- 8
- 17