-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
147 lines (121 loc) · 3.64 KB
/
env.example
File metadata and controls
147 lines (121 loc) · 3.64 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
# Environment Configuration
NODE_ENV=development
NEXT_PUBLIC_APP_URL=http://localhost:3000
NEXT_PUBLIC_APP_NAME=Securiace Technologies
NEXT_PUBLIC_APP_DESCRIPTION=Enterprise Hosting & Cybersecurity Solutions
# Database Configuration
DATABASE_URL=postgresql://username:password@localhost:5432/securiace_db
DATABASE_HOST=localhost
DATABASE_PORT=5432
DATABASE_NAME=securiace_db
DATABASE_USER=username
DATABASE_PASSWORD=password
# Redis Configuration
REDIS_URL=redis://localhost:6379
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=
# Authentication
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=your-secret-key-here
JWT_SECRET=your-jwt-secret-here
# External API Keys
WHMCS_API_URL=https://your-whmcs-domain.com/includes/api.php
WHMCS_API_IDENTIFIER=your-api-identifier
WHMCS_API_SECRET=your-api-secret
WHMCS_API_ACCESS_KEY=your-access-key
# CRM Integration
TWENTY_CRM_API_URL=https://your-crm-domain.com/api
TWENTY_CRM_API_KEY=your-crm-api-key
# Email Marketing
LISTMONK_URL=https://your-listmonk-domain.com
LISTMONK_API_KEY=your-listmonk-api-key
LISTMONK_LIST_ID=your-list-id
# Live Chat
CHATWOOT_API_URL=https://your-chatwoot-domain.com
CHATWOOT_API_TOKEN=your-chatwoot-token
CHATWOOT_ACCOUNT_ID=your-account-id
# Analytics
GOOGLE_ANALYTICS_ID=G-XXXXXXXXXX
GOOGLE_TAG_MANAGER_ID=GTM-XXXXXXX
PLAUSIBLE_DOMAIN=securiace.com
PLAUSIBLE_API_KEY=your-plausible-api-key
# A/B Testing
GROWTHBOOK_API_KEY=your-growthbook-api-key
GROWTHBOOK_ENDPOINT=https://your-growthbook-domain.com
# Monitoring & Error Tracking
SENTRY_DSN=https://your-sentry-dsn@sentry.io/project-id
SENTRY_ORG=your-sentry-org
SENTRY_PROJECT=your-sentry-project
SENTRY_AUTH_TOKEN=your-sentry-auth-token
# Uptime Monitoring
UPTIME_ROBOT_API_KEY=your-uptime-robot-api-key
UPTIME_ROBOT_MONITOR_ID=your-monitor-id
# Performance Monitoring
VERCEL_ANALYTICS_ID=your-vercel-analytics-id
WEB_VITALS_API_KEY=your-web-vitals-api-key
# Security
ENCRYPTION_KEY=your-encryption-key-here
CORS_ORIGIN=http://localhost:3000
RATE_LIMIT_MAX=100
RATE_LIMIT_WINDOW_MS=900000
# File Upload
MAX_FILE_SIZE=10485760
ALLOWED_FILE_TYPES=image/jpeg,image/png,image/gif,image/webp,application/pdf
# Email Configuration
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=your-email@gmail.com
SMTP_PASSWORD=your-app-password
SMTP_FROM=noreply@securiace.com
# CDN Configuration
CDN_URL=https://cdn.securiace.com
CLOUDFLARE_API_TOKEN=your-cloudflare-api-token
CLOUDFLARE_ZONE_ID=your-zone-id
# SSL Configuration
SSL_CERT_PATH=/path/to/ssl/cert.pem
SSL_KEY_PATH=/path/to/ssl/private.key
# Backup Configuration
BACKUP_S3_BUCKET=securiace-backups
AWS_ACCESS_KEY_ID=your-aws-access-key
AWS_SECRET_ACCESS_KEY=your-aws-secret-key
AWS_REGION=us-east-1
# Development Tools
DEBUG=true
LOG_LEVEL=debug
ENABLE_SOURCE_MAPS=true
ENABLE_ANALYZER=false
# Feature Flags
ENABLE_BLOG=true
ENABLE_E_COMMERCE=true
ENABLE_LIVE_CHAT=true
ENABLE_ANALYTICS=true
ENABLE_A_B_TESTING=false
ENABLE_DARK_MODE=true
ENABLE_PWA=true
# Social Media
FACEBOOK_APP_ID=your-facebook-app-id
TWITTER_HANDLE=@securiace
LINKEDIN_COMPANY_ID=your-linkedin-company-id
INSTAGRAM_HANDLE=@securiace
# Payment Processing
STRIPE_PUBLIC_KEY=pk_test_...
STRIPE_SECRET_KEY=sk_test_...
STRIPE_WEBHOOK_SECRET=whsec_...
# Domain & DNS
DOMAIN_REGISTRAR_API_KEY=your-registrar-api-key
DNS_PROVIDER_API_KEY=your-dns-provider-api-key
# Compliance
GDPR_ENABLED=true
COOKIE_CONSENT_REQUIRED=true
DATA_RETENTION_DAYS=365
# Performance
ENABLE_COMPRESSION=true
ENABLE_CACHING=true
CACHE_TTL=3600
ENABLE_CDN=true
# Security Headers
CSP_POLICY=default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline';
HSTS_MAX_AGE=31536000
X_FRAME_OPTIONS=SAMEORIGIN
X_CONTENT_TYPE_OPTIONS=nosniff