-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathenv.example
More file actions
48 lines (40 loc) · 1.43 KB
/
Copy pathenv.example
File metadata and controls
48 lines (40 loc) · 1.43 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
# =============================================================================
# Nexus ERP — Environment Variables
# Copy this file to .env and update values before running
# =============================================================================
# Application
APP_ENV=development # development | production
APP_PORT=8080
JWT_SECRET=your-super-secret-jwt-key-change-this-in-production-min-32-chars
JWT_EXPIRY_HOURS=24
REFRESH_TOKEN_EXPIRY_DAYS=30
# Database (PostgreSQL)
DATABASE_URL=postgres://nexus:nexus_password@localhost:5432/nexus_erp?sslmode=disable
# Individual DB params (alternative to DATABASE_URL)
# DB_HOST=localhost
# DB_PORT=5432
# DB_NAME=nexus_erp
# DB_USER=nexus
# DB_PASSWORD=nexus_password
# DB_SSLMODE=disable
# DB_MAX_CONNS=25
# CORS (comma-separated allowed origins)
CORS_ORIGINS=http://localhost:5173,http://localhost:4173
# File Storage (optional — for document attachments)
# STORAGE_TYPE=local # local | s3 | minio
# STORAGE_PATH=./uploads
# S3_BUCKET=nexus-erp-files
# S3_REGION=us-east-1
# S3_ACCESS_KEY=your-access-key
# S3_SECRET_KEY=your-secret-key
# Email (optional — for notifications)
# SMTP_HOST=smtp.gmail.com
# SMTP_PORT=587
# SMTP_USER=your-email@gmail.com
# SMTP_PASSWORD=your-app-password
# SMTP_FROM=noreply@nexus-erp.local
# Logging
LOG_LEVEL=info # debug | info | warn | error
# Frontend (set at build time for Vue)
# VITE_APP_NAME=Nexus ERP
# VITE_APP_VERSION=1.0.0