Pooja
Pooja
NNovu
Created by Pooja on 7/3/2024 in #💬│support
Need Help with MongoDB Connection Error in NestJS
Secrets YOU MUST CHANGE THESE BEFORE GOING INTO PRODUCTION used as a secret to verify the JWT token signature JWT_SECRET=aa5d69e46da930112b31f186b3dab3760b752219fa14ef4c55497f9bfefe5c52 used to encrypt/decrypt the provider credentials STORE_ENCRYPTION_KEY=q0uDWbSIgiGCPP0PJcYPNW9Lh1U9X3Q5 Host HOST_NAME=http://localhost General available values 'dev', 'test', 'production', 'ci', 'local' NODE_ENV=production MONGO_MAX_POOL_SIZE=200 MONGO_MIN_POOL_SIZE=100 MONGO USER #MONGO_INITDB_ROOT_USERNAME=root MONGO PASSWORD #MONGO_INITDB_ROOT_PASSWORD=secret MONGO_URL=mongodb+srv://charlie:[email protected]/charlie_stag?retryWrites=true&w=majority REDIS_HOST=redis DOCKER_REDIS_SERVICE_PORT=6379 REDIS_PASSWORD= REDIS_CACHE_SERVICE_HOST= AWS S3_LOCAL_STACK=$HOST_NAME:4566 S3_BUCKET_NAME=novu-local S3_REGION=us-east-1 AWS_ACCESS_KEY_ID=test AWS_SECRET_ACCESS_KEY=test Ports API_PORT=1600 REDIS_PORT=6379 REDIS_CACHE_SERVICE_PORT=6379 WS_PORT=3002 Root URL REACT_APP_WS_URL=$HOST_NAME:3002 Uncomment this one when deploying Novu in the local environment as Web app local Dockerfile will have to load this to be used. Deployment version doesn't need as we inject it with API_ROOT_URL value. REACT_APP_API_URL=https://charlie-novu-api.cmdev.cc API_ROOT_URL=https://charlie-novu-api.cmdev.cc DISABLE_USER_REGISTRATION=false FRONT_BASE_URL=https://charlie-novu.cmdev.cc WIDGET_EMBED_PATH=$HOST_NAME:4701/embed.umd.min.js WIDGET_URL=$HOST_NAME:4500 Context Paths Only needed for setups with reverse-proxies GLOBAL_CONTEXT_PATH= WEB_CONTEXT_PATH= API_CONTEXT_PATH= WS_CONTEXT_PATH= WIDGET_CONTEXT_PATH= Analytics SENTRY_DSN= change these values NEW_RELIC_APP_NAME= NEW_RELIC_LICENSE_KEY= IS_MULTI_TENANCY_ENABLED=false can you modify this .env file to remove any existing error from the file ?
10 replies
NNovu
Created by Pooja on 7/3/2024 in #💬│support
Subject: Need Help with MongoDB Connection Error in NestJS
No description
12 replies