Can't connect my Nest.JS project to dockerized mongodb database
I have a dockerized database : mongodb: image: mongo:latest container_name: mongoose-db ports: - "27017:27017" environment: MONGO_INITDB_ROOT_USERNAME: root MONGO_INITDB_ROOT_PASSWORD: 1234 volumes: - mongodb_data:/data/db I have a Nest.JS project running on http://localhost:3000/ and not inside a dockerized stack. I want to correctly…