skip to Main Content

Can't connect to mongodb for Unifi Network Application in Docker

I can't get the Unifi Network Application to work. I have two docker compose files: One file is to create the mongodb part, unifi_db.yml --- version: "3.1" services: unifi-db: image: docker.io/mongo:4.4.18 ports: - 27017:27017 environment: MONGO_INITDB_ROOT_USERNAME: admin MONGO_INITDB_ROOT_PASSWORD_FILE : /run/secrets/mongodb_admin_user_password…

VIEW QUESTION

Hello, i am trying to complete user registration form that uses (HTML,CSS,JS,NODE.JS,PASSPORT.JS

I am trying to make my registration page work. When I type a username and password, I just get {"message":"Registration failed"}. I'm getting the following error: MongooseError: Operation `users.findOne()` buffering timed out after 10000ms at Timeout.<anonymous> (C:pathtoyourfilenode_modulesmongooselibdriversnode-mongodb-nativecollection.js:186:23) at listOnTimeout (node:internal/timers:569:17)…

VIEW QUESTION
Back To Top
Search