© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Need Help with MongoDB Connection Error in NestJS - Novu
N
Novu
•
2y ago
•
9 replies
Pooja
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
+
s
r
v
:
/
/
c
h
a
r
l
i
e
:IlDDla4SMSBeD4OR
@cluster0
.8vyb3rm
.mongodb
.net
/charlie
_stag
?retryWrites
=true
&w
=majority
REDIS
_HOST
=redis
DOCKER
_REDIS
_SERVICE
_PORT
=6379
REDIS
_PASSWORD
=
REDIS
_CACHE
_SERVICE
_HOST
=
AWS
S3
_LOCAL
_STACK
=
$
H
O
S
T
_
N
A
M
E
: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
=
$
H
O
S
T
_
N
A
M
E
: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
=
$
H
O
S
T
_
N
A
M
E
:4701
/embed
.umd
.min
.js
WIDGET
_URL
=
$
H
O
S
T
_
N
A
M
E
: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
?
Novu Manage Platform
Novu Manage Platform
Similar Threads
Recent Announcements
Similar Threads
Subject: Need Help with MongoDB Connection Error in NestJS
N
Novu / 💬│support
2y ago
Connection to MongoDB closes occasionally in self-hosted novu
N
Novu / 💬│support
2y ago
Need Help in setting up novu with Postgress
N
Novu / 💬│support
2y ago
Need help with kubernetes setup
N
Novu / 💬│support
3y ago