-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
27 lines (22 loc) · 746 Bytes
/
Copy path.env.example
File metadata and controls
27 lines (22 loc) · 746 Bytes
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
# Environment Variables
PORT=3000
NODE_ENV=development
MONGODB_URI=mongodb://localhost:27017/chat-app
# MongoDB Configuration
DB_NAME=chat-app
DB_HOST=localhost
DB_PORT=27017
# JWT Secret (change this in production)
JWT_SECRET=your-super-secret-jwt-key-change-this-in-production
# File Upload Configuration
MAX_FILE_SIZE=10485760
UPLOAD_PATH=./uploads
# DigitalOcean Configuration (for production deployment)
# DO_ACCESS_TOKEN=your-digitalocean-access-token
# DO_SPACES_KEY=your-spaces-access-key
# DO_SPACES_SECRET=your-spaces-secret-key
# DO_SPACES_ENDPOINT=nyc3.digitaloceanspaces.com
# DO_SPACES_BUCKET=your-bucket-name
# SSL Configuration (for production)
# SSL_CERT_PATH=/etc/ssl/certs/cert.pem
# SSL_KEY_PATH=/etc/ssl/private/key.pem