-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.production.template
More file actions
50 lines (43 loc) · 1.58 KB
/
.env.production.template
File metadata and controls
50 lines (43 loc) · 1.58 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
43
44
45
46
47
48
49
50
# ===============================================
# YINIZ PRODUCTION ENVIRONMENT CONFIGURATION
# ===============================================
# Copy this file to .env in production and fill in your values
# =================================
# DATABASE CONFIGURATION
# =================================
MYSQL_HOST=your-production-db-host
MYSQL_USER=your-production-db-user
MYSQL_PASSWORD=your-production-db-password
MYSQL_DATABASE=yiniz_db
MYSQL_PORT=3306
# Alternative: Use DATABASE_URL for services like Render, Railway, etc.
# DATABASE_URL=mysql://user:password@host:port/database
# =================================
# APPLICATION CONFIGURATION
# =================================
PORT=3000
NODE_ENV=production
# =================================
# PRODUCTION SETTINGS
# =================================
# Set to "true" ONLY if your site is served over HTTPS
# Set to "false" if using HTTP (like some free hosting services)
USE_HTTPS=true
# =================================
# SESSION & SECURITY
# =================================
# IMPORTANT: Change this to a strong, unique secret in production!
SESSION_SECRET=your-super-secret-session-key-change-this-now
# =================================
# ML SERVICE CONFIGURATION
# =================================
# URL of your ML service (if separate deployment)
ML_SERVICE_URL=http://localhost:8000
# =================================
# EMAIL CONFIGURATION (Optional)
# =================================
# If you plan to use email features
EMAIL_HOST=smtp.your-provider.com
EMAIL_PORT=587
EMAIL_USER=your-email@domain.com
EMAIL_PASSWORD=your-email-password