Skip to content

Commit 08e6712

Browse files
authored
Merge pull request #68 from PentabyteDevAlign/fix/deploy-issue
fix: update CLIENT_URL to production HTTPS domain
2 parents 543d1ac + e8d2cb4 commit 08e6712

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

Backend/.env.production

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Backend Production Environment Variables
2+
# Location on server: /var/www/backend/.env.backend
3+
4+
# Server Configuration
5+
PORT=5000
6+
7+
# Frontend URL (HTTPS with domain) - Updated for production
8+
CLIENT_URL=https://devalign.site
9+
10+
# AI Backend URL (Docker internal networking - container name)
11+
BASE_AI_URL=http://ai-backend:8000
12+
13+
# JWT Secret (Production)
14+
JWT_SECRET=Q5z2fcaLrS_XtTGqtxNsM5mUZy6PdMDibR-MJqhYkkoPTW0zXEvUs14UdpS6lqhvjiScvFA7jvBfWexvHChUNA
15+
16+
# MongoDB Connection String (Production)
17+
MONGO_URI=mongodb+srv://dev-align-database:HgspLtpdcHOIm5Pv@capstone-cluster.t8phj3m.mongodb.net/dev-align?retryWrites=true&w=majority
18+
19+
# Email Configuration (Gmail SMTP)
20+
EMAIL_HOST=smtp.gmail.com
21+
EMAIL_PORT=587
22+
EMAIL_SERVICE="gmail"
23+
EMAIL_USER=devalign.id@gmail.com
24+
EMAIL_PASS="bnzd qzgo olge ivvy"
25+
26+
# Optional: Environment indicator
27+
NODE_ENV=production

0 commit comments

Comments
 (0)