Rushi
Rushi
NNovu
Created by Rushi on 7/4/2024 in #💬│support
Error of Monogo DB connection string
@Pawan Jain @Novu_Bot while docker-compose -f docker-compose.yml up then show below error [Nest] 921 - 07/04/2024, 7:08:02 AM ERROR [ExceptionHandler] querySrv ESERVFAIL _mongodb._tcp.cluster0.8vyb3rm.mongodb.net ws | Error: querySrv ESERVFAIL _mongodb._tcp.cluster0.8vyb3rm.mongodb.net ws | at QueryReqWrap.onresolve [as oncomplete] (node:internal/dns/promises:240:17) below is our env file Secrets YOU MUST CHANGE THESE BEFORE GOING INTO PRODUCTION used as a secret to verify the JWT token signature JWT_SECRET=XXXXXXXXXXX used to encrypt/decrypt the provider credentials STORE_ENCRYPTION_KEY=XXXXXXXXXX Host HOST_NAME=http://209.182.236.234 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://rocky:[email protected]/rocky_novu?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=$HOST_NAME:1600 API_ROOT_URL=$HOST_NAME:1600 DISABLE_USER_REGISTRATION=false FRONT_BASE_URL=$HOST_NAME:4200 WIDGET_EMBED_PATH=$HOST_NAME:4701/embed.umd.min.js WIDGET_URL=$HOST_NAME:4500
9 replies