-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproduction-env-example.env
More file actions
62 lines (48 loc) · 1.29 KB
/
Copy pathproduction-env-example.env
File metadata and controls
62 lines (48 loc) · 1.29 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
# Production Environment Configuration for Bun System Gate
# Copy this to .env and customize for your organization
# Server Configuration
NODE_ENV=production
PORT=3655
# Arsenal Lab API
ARSENAL_API_URL=https://arsenal-lab.yourcompany.com
# Security Configuration
ARSENAL_FAIL_OPEN=true
ARSENAL_BLOCK_LEVEL=high
ARSENAL_CACHE_TTL=3600
ARSENAL_VERBOSE=false
# External Services
GOOGLE_ANALYTICS_ID=G-YOUR-GA-ID
GITHUB_USERNAME=your-org
GITHUB_REPO=arsenal-lab
# Database (if using PostgreSQL)
DATABASE_URL=postgresql://arsenal:password@localhost:5432/arsenal_lab
# Redis (if using Redis caching)
REDIS_URL=redis://localhost:6379
# Monitoring
PROMETHEUS_ENABLED=true
GRAFANA_ENABLED=true
# Organization Settings
ORG_NAME=Your Company Name
ORG_DOMAIN=yourcompany.com
ORG_SUPPORT_EMAIL=security@yourcompany.com
# SSL/TLS
SSL_CERT_PATH=/path/to/ssl/cert.pem
SSL_KEY_PATH=/path/to/ssl/private.key
# Logging
LOG_LEVEL=info
LOG_FILE=/app/logs/arsenal-lab.log
# Backup
BACKUP_ENABLED=true
BACKUP_SCHEDULE=0 2 * * *
BACKUP_RETENTION_DAYS=30
# Security Headers
SECURITY_HEADERS_ENABLED=true
HSTS_ENABLED=true
CSP_ENABLED=true
# Rate Limiting
RATE_LIMIT_ENABLED=true
RATE_LIMIT_WINDOW_MS=900000
RATE_LIMIT_MAX_REQUESTS=100
# CORS
CORS_ORIGINS=https://yourcompany.com,https://*.yourcompany.com
CORS_CREDENTIALS=true