-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
129 lines (113 loc) · 4.83 KB
/
.env.example
File metadata and controls
129 lines (113 loc) · 4.83 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
# Provability Fabric Testbed Environment Configuration
# Copy this file to .env and fill in the required values
# =============================================================================
# Database Configuration
# =============================================================================
DATABASE_URL=postgresql://username:password@localhost:5432/pf_testbed
DATABASE_HOST=localhost
DATABASE_PORT=5432
DATABASE_NAME=pf_testbed
DATABASE_USERNAME=username
DATABASE_PASSWORD=password
# =============================================================================
# Security & Authentication
# =============================================================================
SECRET_KEY=your-super-secret-key-here-change-in-production
JWT_SECRET=your-jwt-secret-key-here
API_KEY_SECRET=your-api-key-secret-here
PF_SIGNATURE_SECRET=your-pf-signature-secret-here
# =============================================================================
# Service Ports
# =============================================================================
GATEWAY_PORT=3003
INGRESS_PORT=3001
LEDGER_PORT=3002
GRAFANA_PORT=3100
PROMETHEUS_PORT=9090
# =============================================================================
# External Services
# =============================================================================
PROMETHEUS_URL=http://localhost:9090
GRAFANA_URL=http://localhost:3100
LEDGER_URL=http://localhost:3002
# =============================================================================
# OpenAI Configuration
# =============================================================================
OPENAI_API_KEY=your-openai-api-key-here
OPENAI_ORGANIZATION=your-openai-org-id-here
OPENAI_MODEL=gpt-4-turbo-preview
# =============================================================================
# Monitoring & Observability
# =============================================================================
LOG_LEVEL=info
METRICS_ENABLED=true
TRACING_ENABLED=true
HEALTH_CHECK_INTERVAL=30
# =============================================================================
# Tenant Configuration
# =============================================================================
DEFAULT_TENANT=acme
TENANT_ACME_ID=acme-corp
TENANT_GLOBEX_ID=globex-corp
TENANT_ISOLATION_ENABLED=true
# =============================================================================
# Rate Limiting
# =============================================================================
RATE_LIMIT_WINDOW_MS=900000
RATE_LIMIT_MAX_REQUESTS=100
RATE_LIMIT_SKIP_SUCCESSFUL_REQUESTS=false
# =============================================================================
# Security Settings
# =============================================================================
CORS_ORIGIN=http://localhost:3000,http://localhost:3001,http://localhost:3003
HELMET_ENABLED=true
RATE_LIMITING_ENABLED=true
HONEYTOKEN_ENABLED=true
# =============================================================================
# File Storage
# =============================================================================
UPLOAD_MAX_SIZE=10MB
STORAGE_PATH=./storage
BACKUP_PATH=./backups
# =============================================================================
# Reporting & Analytics
# =============================================================================
REPORT_OUTPUT_DIR=./reports
REPORT_RETENTION_DAYS=90
ANALYTICS_ENABLED=true
AUDIT_LOG_ENABLED=true
# =============================================================================
# Development Settings
# =============================================================================
NODE_ENV=development
DEBUG=true
HOT_RELOAD=true
WATCH_MODE=true
# =============================================================================
# Testing Configuration
# =============================================================================
TEST_DATABASE_URL=postgresql://test_user:test_pass@localhost:5432/pf_testbed_test
TEST_TIMEOUT=30000
COVERAGE_THRESHOLD=90
# =============================================================================
# Kubernetes & Terraform (for production deployment)
# =============================================================================
KUBECONFIG=~/.kube/config
TERRAFORM_WORKSPACE=testbed
GCP_PROJECT_ID=your-gcp-project-id
GCP_REGION=us-central1
GCP_ZONE=us-central1-a
# =============================================================================
# Slack Integration (for notifications)
# =============================================================================
SLACK_WEBHOOK_URL=your-slack-webhook-url
SLACK_CHANNEL=#pf-testbed
SLACK_USERNAME=PF-Testbed-Bot
# =============================================================================
# Email Configuration (for alerts)
# =============================================================================
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=your-email@gmail.com
SMTP_PASS=your-app-password
ALERT_EMAIL=alerts@yourcompany.com