-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.production.example
More file actions
42 lines (34 loc) · 1.48 KB
/
Copy path.env.production.example
File metadata and controls
42 lines (34 loc) · 1.48 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
# =============================================================================
# AppLens Backend - Production Environment Variables
# =============================================================================
# Copy this file to .env.production and fill in ALL values.
# NEVER commit .env.production to version control!
# =============================================================================
# Server
PORT=8080
ENVIRONMENT=production
BACKEND_URL=https://applens.space
FRONTEND_URL=https://applens.space
# Database
MONGO_URI=mongodb+srv://google:awais@cluster0.iikfd.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0
DATABASE_NAME=applens
# JWT - Generate a strong secret: openssl rand -base64 64
JWT_SECRET=CHANGE_ME_TO_A_STRONG_64_CHAR_RANDOM_STRING
# Upload directory
UPLOAD_DIR=/root/applens/uploads
# CORS - comma separated allowed origins
ALLOWED_ORIGINS=https://applens.space,https://app-lens-ai.vercel.app
# OAuth - Google
GOOGLE_CLIENT_ID=149807789478-3qc7tumsspgbmosh63g8j7q0lr701crg.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=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
GOOGLE_REDIRECT_URL=https://applens.space/api/auth/google/callback
# OAuth - GitHub
GITHUB_CLIENT_ID=Ov23liPxfMQhtKnQejzU
GITHUB_CLIENT_SECRET=a6fa995a4729bbefc959304467b3829f9c78830d
GITHUB_REDIRECT_URL=https://applens.space/api/auth/github/callback
# SMTP (for email notifications)
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=ar30781871@gmail.com
SMTP_PASS=bkcyfwjukgdqzogv
SMTP_FROM=noreply@applens.space