-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
45 lines (34 loc) · 1.08 KB
/
Copy path.env.example
File metadata and controls
45 lines (34 loc) · 1.08 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
# NodeStack Environment Configuration
# Multi-tenant mode (true for SaaS, false for single-tenant)
MULTI_TENANT=false
# Database Configuration
DATABASE_URL=postgresql://nodestack:password@localhost:5432/nodestack
# Redis Configuration
REDIS_URL=redis://localhost:6379
# NATS Configuration
NATS_URL=nats://localhost:4222
# JWT Configuration
JWT_SECRET=your-super-secret-jwt-key-change-in-production
JWT_REFRESH_SECRET=your-super-secret-refresh-key-change-in-production
# Service Ports
AUTH_SERVICE_PORT=4001
USER_SERVICE_PORT=4002
TENANT_SERVICE_PORT=4003
AUDIT_SERVICE_PORT=4004
API_GATEWAY_PORT=3000
# Service URLs (for API Gateway)
AUTH_SERVICE_URL=http://localhost:4001
USER_SERVICE_URL=http://localhost:4002
TENANT_SERVICE_URL=http://localhost:4003
AUDIT_SERVICE_URL=http://localhost:4004
# Logging
LOG_LEVEL=info
# Host Configuration
HOST=0.0.0.0
# Email Service (Resend)
RESEND_API_KEY=your-resend-api-key
RESEND_FROM=NodeStack <noreply@yourdomain.com>
# SMS Service (Twilio)
TWILIO_ACCOUNT_SID=your-twilio-account-sid
TWILIO_AUTH_TOKEN=your-twilio-auth-token
TWILIO_PHONE_NUMBER=+1234567890