-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
182 lines (152 loc) · 5.74 KB
/
Copy pathenv.example
File metadata and controls
182 lines (152 loc) · 5.74 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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
# =============================================================================
# OpsSight Platform Environment Configuration
# =============================================================================
# Copy this file to .env and fill in your actual values
# Never commit .env files to version control
# =============================================================================
# Application Settings
# =============================================================================
NODE_ENV=development
ENVIRONMENT=development
DEBUG=true
LOG_LEVEL=info
# =============================================================================
# Database Configuration
# =============================================================================
# PostgreSQL
DATABASE_URL=postgresql://opssight:password@localhost:5432/opssight_dev
DB_HOST=localhost
DB_PORT=5432
DB_NAME=opssight_dev
DB_USER=opssight
DB_PASSWORD=password
# Redis
REDIS_URL=redis://localhost:6379/0
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_DB=0
# =============================================================================
# Authentication & Security
# =============================================================================
# JWT Configuration
JWT_SECRET_KEY=your-super-secret-jwt-key-change-this-in-production
JWT_ALGORITHM=HS256
JWT_ACCESS_TOKEN_EXPIRE_MINUTES=30
JWT_REFRESH_TOKEN_EXPIRE_DAYS=7
# OAuth Configuration
GITHUB_CLIENT_ID=your-github-oauth-client-id
GITHUB_CLIENT_SECRET=your-github-oauth-client-secret
GITHUB_REDIRECT_URI=http://localhost:3000/auth/github/callback
GOOGLE_CLIENT_ID=your-google-oauth-client-id
GOOGLE_CLIENT_SECRET=your-google-oauth-client-secret
# =============================================================================
# Cloud Provider Credentials
# =============================================================================
# AWS
AWS_ACCESS_KEY_ID=your-aws-access-key
AWS_SECRET_ACCESS_KEY=your-aws-secret-key
AWS_DEFAULT_REGION=us-west-2
AWS_S3_BUCKET=opssight-storage
# Azure
AZURE_CLIENT_ID=your-azure-client-id
AZURE_CLIENT_SECRET=your-azure-client-secret
AZURE_TENANT_ID=your-azure-tenant-id
AZURE_SUBSCRIPTION_ID=your-azure-subscription-id
# Google Cloud
GOOGLE_CLOUD_PROJECT_ID=your-gcp-project-id
GOOGLE_APPLICATION_CREDENTIALS=path/to/service-account.json
# =============================================================================
# Container Orchestration
# =============================================================================
# Kubernetes
KUBECONFIG=~/.kube/config
K8S_NAMESPACE=opssight
# Docker
DOCKER_HOST=unix:///var/run/docker.sock
# =============================================================================
# CI/CD Integration
# =============================================================================
# GitHub
GITHUB_TOKEN=your-github-personal-access-token
GITHUB_WEBHOOK_SECRET=your-github-webhook-secret
# GitLab
GITLAB_TOKEN=your-gitlab-access-token
GITLAB_URL=https://gitlab.com
# Jenkins
JENKINS_URL=http://localhost:8080
JENKINS_USER=admin
JENKINS_TOKEN=your-jenkins-api-token
# =============================================================================
# Monitoring & Observability
# =============================================================================
# Prometheus
PROMETHEUS_URL=http://localhost:9090
# Grafana
GRAFANA_URL=http://localhost:3000
GRAFANA_API_KEY=your-grafana-api-key
# Jaeger
JAEGER_ENDPOINT=http://localhost:14268/api/traces
# Sentry
SENTRY_DSN=your-sentry-dsn-url
# =============================================================================
# Message Queue & Streaming
# =============================================================================
# Kafka
KAFKA_BOOTSTRAP_SERVERS=localhost:9092
KAFKA_TOPIC_PREFIX=opssight
# RabbitMQ
RABBITMQ_URL=amqp://guest:guest@localhost:5672/
# =============================================================================
# Machine Learning
# =============================================================================
# MLflow
MLFLOW_TRACKING_URI=http://localhost:5000
MLFLOW_S3_ENDPOINT_URL=http://localhost:9000
# Weights & Biases
WANDB_API_KEY=your-wandb-api-key
WANDB_PROJECT=opssight-ml
# =============================================================================
# Notification Services
# =============================================================================
# Email (SMTP)
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=your-email@gmail.com
SMTP_PASSWORD=your-app-password
SMTP_TLS=true
# Slack
SLACK_BOT_TOKEN=xoxb-your-slack-bot-token
SLACK_SIGNING_SECRET=your-slack-signing-secret
SLACK_CHANNEL=#alerts
# Twilio
TWILIO_ACCOUNT_SID=your-twilio-account-sid
TWILIO_AUTH_TOKEN=your-twilio-auth-token
TWILIO_PHONE_NUMBER=+1234567890
# PagerDuty
PAGERDUTY_API_KEY=your-pagerduty-api-key
PAGERDUTY_SERVICE_ID=your-service-id
# =============================================================================
# Mobile App Configuration
# =============================================================================
# Push Notifications
FCM_SERVER_KEY=your-firebase-server-key
APNS_KEY_ID=your-apns-key-id
APNS_TEAM_ID=your-apple-team-id
APNS_BUNDLE_ID=com.opssight.mobile
# =============================================================================
# Development & Testing
# =============================================================================
# Test Database
TEST_DATABASE_URL=postgresql://opssight:password@localhost:5432/opssight_test
# API Base URLs
FRONTEND_URL=http://localhost:3000
BACKEND_URL=http://localhost:8000
MOBILE_API_URL=http://localhost:8000/api/mobile
# =============================================================================
# Feature Flags
# =============================================================================
ENABLE_ML_FEATURES=true
ENABLE_MOBILE_PUSH=true
ENABLE_COST_OPTIMIZATION=true
ENABLE_SECURITY_SCANNING=true
ENABLE_MULTI_CLOUD=true