-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.template
30 lines (24 loc) · 1.09 KB
/
.env.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Environment Configuration
NODE_ENV="development" # Options: 'development', 'production'
PORT="8080" # The port your server will listen on
HOST="localhost" # Hostname for the server
# CORS Settings
CORS_ORIGIN="http://localhost:3000,http://localhost:9000" # Allowed CORS origin, adjust as necessary
# Rate Limiting
COMMON_RATE_LIMIT_WINDOW_MS="1000" # Window size for rate limiting (ms)
COMMON_RATE_LIMIT_MAX_REQUESTS="200" # Max number of requests per window per IP
MONGO_INITDB_DATABASE=
MONGO_INITDB_ROOT_USERNAME=
MONGO_INITDB_ROOT_PASSWORD=
MONGODB_DB=
MONGODB_USER=
MONGODB_PASSWORD=
# mongodb://[username:password@]host[/[defaultauthdb][?options]]
MONGODB_CONNECTION_STRING="mongodb://root:root@localhost:27017,localhost:27018,localhost:27019/intracom_database?replicaSet=rs0&authSource=admin&retryWrites=true&w=majority&serverSelectionTimeoutMS=40000&appName=mongosh+2.2.6"
SESSION_SECRET="fc761054-4ac6-4888-9692-597f9cabe71b"
SESSION_SECURE=false
SESSION_HTTP_ONLY=false
CLIENT_SERVER=http://localhost:3000
#Socket.io Admin UI
ADMIN_UI_USERNAME="admin"
ADMIN_UI_PASSWORD="admin"