-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.production.example
More file actions
48 lines (38 loc) · 1.42 KB
/
Copy pathenv.production.example
File metadata and controls
48 lines (38 loc) · 1.42 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
# Production Environment Variables Template
# Copy this to your server and fill in the values
# ==========================================
# Backend (.env in apps/api/)
# ==========================================
# Database Connection
# Format: postgresql://username:password@host:port/database?schema=public
DATABASE_URL="postgresql://systemink_user:YOUR_SECURE_PASSWORD@localhost:5432/systemink?schema=public"
# JWT Authentication
# IMPORTANT: Change this to a long, random string in production!
JWT_SECRET="your-super-secret-jwt-key-change-this-min-32-characters-random-string"
JWT_EXPIRES_IN="15m"
JWT_REFRESH_EXPIRES_IN="7d"
# CORS - Your production domain
CORS_ORIGIN="https://systemink.com"
# File Uploads
UPLOAD_DIR="./uploads"
MAX_FILE_SIZE=52428800
# Server Configuration
PORT=3000
NODE_ENV=production
# Site URL - Your production domain
SITE_URL="https://systemink.com"
# ==========================================
# Frontend (.env.production in apps/web/)
# ==========================================
VITE_API_URL=https://systemink.com/api
# ==========================================
# Instructions:
# ==========================================
# 1. On your server, create these files:
# - /var/www/systemink/apps/api/.env
# - /var/www/systemink/apps/web/.env.production
#
# 2. Copy the respective sections above
# 3. Replace all placeholder values
# 4. NEVER commit these files to Git!
# 5. Keep backups of these files secure