forked from Traqora/astroml
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
229 lines (204 loc) · 7.96 KB
/
Copy path.env.example
File metadata and controls
229 lines (204 loc) · 7.96 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
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
# AstroML Environment Configuration
# Copy this file to .env and customize for your environment
# ============================================================================
# Database Configuration
# ============================================================================
POSTGRES_DB=astroml
POSTGRES_USER=astroml
POSTGRES_PASSWORD=your_secure_password_here
POSTGRES_HOST=postgres
POSTGRES_PORT=5432
DATABASE_URL=postgresql://astroml:your_secure_password_here@postgres:5432/astroml
# ============================================================================
# Redis Configuration
# ============================================================================
REDIS_HOST=redis
REDIS_PORT=6379
REDIS_PASSWORD=your_redis_password_here
REDIS_URL=redis://:your_redis_password_here@redis:6379/0
REDIS_DB=0
# Redis configuration
REDIS_DEFAULT_TTL=300
REDIS_MAX_CONNECTIONS=10
# ============================================================================
# Feature Store Configuration
# ============================================================================
FEATURE_STORE_PATH=./feature_store
FEATURE_STORE_CACHE_SIZE=1000
FEATURE_STORE_CACHE_TTL=3600
FEATURE_STORE_CACHE_STRATEGY=LRU
FEATURE_STORE_STORAGE_FORMAT=PARQUET
FEATURE_STORAGE_COMPRESSION=snappy
FEATURE_STORE_VERSIONING=true
# ============================================================================
# Stellar Network Configuration
# ============================================================================
STELLAR_NETWORK_PASSPHRASE=Public Global Stellar Network ; September 2015
STELLAR_HORIZON_URL=https://horizon.stellar.org
STELLAR_NETWORK=public
STELLAR_SECRET_KEY=your_stellar_secret_key_here
# ============================================================================
# Application Configuration
# ============================================================================
APP_ENV=development
ASTROML_ENV=development
PYTHONPATH=/app
DEBUG=true
LOG_LEVEL=INFO
LOG_FORMAT=json
LOG_FILE=./logs/astroml.log
# ============================================================================
# API Configuration
# ============================================================================
API_HOST=0.0.0.0
API_PORT=8000
API_WORKERS=4
API_TIMEOUT=30
API_KEY=your-api-key-here
# ============================================================================
# Port Configuration
# ============================================================================
INGESTION_PORT=8000
STREAMING_PORT=8001
FEATURE_STORE_PORT=8002
DEV_PORT=8003
PRODUCTION_PORT=8004
TENSORBOARD_PORT=6006
JUPYTER_PORT=8888
# ============================================================================
# Training Configuration
# ============================================================================
TRAINING_BATCH_SIZE=32
TRAINING_EPOCHS=100
TRAINING_LEARNING_RATE=0.001
TRAINING_VALIDATION_SPLIT=0.2
TRAINING_DEVICE=cuda
CUDA_VISIBLE_DEVICES=0
TORCH_CUDA_ARCH_LIST=7.5
# ============================================================================
# MLflow Configuration
# ============================================================================
MLFLOW_TRACKING_URI=http://localhost:5000
MLFLOW_EXPERIMENT_NAME=astroml
# ============================================================================
# Jupyter Configuration
# ============================================================================
JUPYTER_TOKEN=astroml_dev
JUPYTER_PASSWORD=astroml_dev
# ============================================================================
# Monitoring Configuration
# ============================================================================
PROMETHEUS_ENABLED=True
PROMETHEUS_PORT=9090
PROMETHEUS_RETENTION=15d
GRAFANA_ENABLED=True
GRAFANA_PORT=3000
GRAFANA_ADMIN_PASSWORD=admin
METRICS_PORT=8080
# ============================================================================
# Docker Configuration
# ============================================================================
COMPOSE_PROJECT_NAME=astroml
DOCKER_BUILDKIT=1
COMPOSE_DOCKER_CLI_BUILD=1
DOCKER_REGISTRY=astroml
DOCKER_TAG=latest
# ============================================================================
# Data Configuration
# ============================================================================
DATA_DIR=/app/data
DATA_PATH=./data
MODELS_DIR=/app/models
MODELS_PATH=./models
LOGS_DIR=/app/logs
LOGS_PATH=./logs
CACHE_DIR=/app/cache
CONFIG_PATH=./config
# ============================================================================
# Security Configuration
# ============================================================================
SECRET_KEY=your_secret_key_here_generate_random_string
JWT_SECRET_KEY=your_jwt_secret_key_here
JWT_ALGORITHM=HS256
JWT_EXPIRATION_HOURS=24
# ============================================================================
# Email Configuration (Optional)
# ============================================================================
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=your_email@gmail.com
SMTP_PASSWORD=your_email_password
SMTP_FROM=noreply@astroml.com
# ============================================================================
# Soroban Configuration
# ============================================================================
SOROBAN_NETWORK=public
SOROBAN_RPC_URL=https://soroban-testnet.stellar.org
SOROBAN_SECRET_KEY=your_soroban_secret_key_here
SOROBAN_FEE=10000
MAX_WORKERS=4
BATCH_SIZE=1000
MEMORY_LIMIT=8GB
TIMEOUT=300
# ============================================================================
# Network Configuration
# ============================================================================
NETWORK_TIMEOUT=30
RETRY_COUNT=3
RETRY_DELAY=1
# ============================================================================
# Feature Store Advanced Configuration
# ============================================================================
FEATURE_STORE_CACHE_STRATEGY=LRU
FEATURE_STORE_STORAGE_FORMAT=PARQUET
FEATURE_STORAGE_COMPRESSION=snappy
FEATURE_STORE_VERSIONING=true
# ============================================================================
# Development Configuration
# ============================================================================
DEV_MODE=true
TEST_MODE=false
MOCK_SERVICES=false
# ============================================================================
# Production Configuration
# ============================================================================# ============================================================================
# Production Configuration
# ============================================================================
# Production Configuration
PROD_MODE=false
MONITORING_ENABLED=false
ALERTING_ENABLED=false
# ============================================================================
# Feature Flags
# ============================================================================
ENABLE_STREAMING=True
ENABLE_MONITORING=True
ENABLE_GPU_TRAINING=True
ENABLE_SOROBAN_CONTRACTS=True
# ============================================================================
# Docker Configuration
# ============================================================================
DOCKER_REGISTRY=astroml
DOCKER_TAG=latest
DOCKER_BUILDKIT=1
# ============================================================================
# Data Configuration
# ============================================================================
DATA_PATH=./data
MODELS_PATH=./models
LOGS_PATH=./logs
CONFIG_PATH=./config
# ============================================================================
# Network Configuration
# ============================================================================
NETWORK_TIMEOUT=30
RETRY_COUNT=3
RETRY_DELAY=1
# ============================================================================
# Frontend Error Reporting (issue #292)
# ============================================================================
# Sentry DSN for browser error tracking. Leave blank to disable Sentry
# (errors will still be logged to console and the backend endpoint).
VITE_SENTRY_DSN=
# Optional: human-readable release tag attached to Sentry events
VITE_APP_VERSION=0.1.0