skip to Main Content

UncategorizedMongoDbException: Exception authenticating MongoCredential – Docker

I have a problem connecting a microservice with mongoDB in Docker in a ubuntu server My application.properties: #-------APP------- spring.application.name=app-interventor server.port=${PORT:0} #-----MongoDb------ spring.data.mongodb.host=mongo spring.data.mongodb.port=27017 spring.data.mongodb.authentication-database=admin spring.data.mongodb.username=user spring.data.mongodb.password=user spring.data.mongodb.database=interventorApp spring.data.mongodb.auto-index-creation: true #-----Eureka------- eureka.instance.metadataMap.instanceId=${spring.application.name}:${spring.application.instance_id:${random.value}} eureka.client.service-url.defaultZone=http://eureka:8761/eureka management.endpoints.web.exposure.include=* management.endpoint.health.show-details=always as initialize mongo in docker: sudo…

VIEW QUESTION

How to query nested data in Redis

For the API I'm developing, I'm in the process of saying "goodbye" to Mongo and I'd like to use Redis as my primary database. The authentication of my API is based on HTTP basic auth where user name is essentially…

VIEW QUESTION
Back To Top
Search