-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
136 lines (111 loc) · 5.13 KB
/
Copy path.env.example
File metadata and controls
136 lines (111 loc) · 5.13 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
# =============================================================================
# Distributed Query Execution Engine - Environment Configuration
# =============================================================================
#
# Run ./setup.sh to create working copies:
# .env (this file, for reference and optional overrides)
# frontend/.env (from frontend/.env.example)
#
# Backend services started with Docker Compose use defaults defined in
# docker-compose.yml. The variables below document common overrides for
# local `dotnet run` development and production deployments.
#
# ASP.NET Core uses Section__Key for environment variables
# (maps to Section:Key in appsettings.json).
# =============================================================================
# -----------------------------------------------------------------------------
# Frontend (Vite) - copied to frontend/.env by setup.sh
# See frontend/.env.example for the canonical frontend template.
# -----------------------------------------------------------------------------
VITE_API_PROXY_TARGET=http://localhost:5281
VITE_API_BASE_URL=same-origin
VITE_DEV_USE_PROXY=true
VITE_AUTH_ENABLED=true
VITE_OAUTH_GOOGLE_ENABLED=true
VITE_OAUTH_GITHUB_ENABLED=true
VITE_GRAFANA_URL=http://localhost:3000
VITE_JAEGER_URL=http://localhost:16686
# Optional prefilled login credentials for local development (disabled by default)
VITE_SEED_LOGIN_PREFILL_ENABLED=false
# VITE_SEED_LOGIN_ADMIN_EMAIL=admin@example.com
# VITE_SEED_LOGIN_ADMIN_PASSWORD=ChangeMe-Admin-12
# VITE_SEED_LOGIN_USER_EMAIL=user@example.com
# VITE_SEED_LOGIN_USER_PASSWORD=ChangeMe-User-12
# -----------------------------------------------------------------------------
# Shared infrastructure (local dotnet run)
# -----------------------------------------------------------------------------
Redis__ConnectionString=localhost:6379,abortConnect=false
Redis__InstanceName=dqee:
# Redis__Password=
Consul__Address=http://localhost:8500
# Consul__Token=
RabbitMq__Host=localhost
RabbitMq__VirtualHost=/
RabbitMq__Username=guest
# RabbitMq__Password=guest
OpenTelemetry__OtlpEndpoint=http://localhost:4317
# -----------------------------------------------------------------------------
# API host
# -----------------------------------------------------------------------------
Authentication__Enabled=true
Authentication__UseLocalJwtIssuer=true
Authentication__JwtSigning__Issuer=http://localhost:5281/
Authentication__JwtSigning__Audience=dqee-api
# Authentication__JwtSigning__PrivateKeyPem=
# Authentication__JwtSigning__PublicKeyPem=
Authentication__Frontend__CallbackUrl=http://localhost:5173/auth/callback
# Development-only demo accounts (seeded on API startup when ASPNETCORE_ENVIRONMENT=Development)
# Authentication__Seed__Enabled=true
# Authentication__Seed__Admin__Email=admin@example.com
# Authentication__Seed__Admin__Password=ChangeMe-Admin-12
# Authentication__Seed__Admin__DisplayName=Admin Account
# Authentication__Seed__Admin__Scopes__0=query:read
# Authentication__Seed__Admin__Scopes__1=query:admin
# Authentication__Seed__User__Email=user@example.com
# Authentication__Seed__User__Password=ChangeMe-User-12
# Authentication__Seed__User__DisplayName=Standard User
# Authentication__Seed__User__Scopes__0=query:read
# Authentication__Google__Enabled=false
# Authentication__Google__ClientId=
# Authentication__Google__ClientSecret=
# Authentication__GitHub__Enabled=false
# Authentication__GitHub__ClientId=
# Authentication__GitHub__ClientSecret=
CoordinatorClient__BaseUrl=http://localhost:5200
CoordinatorClient__RequestTimeoutMs=120000
RateLimiting__MaxConcurrentRequests=200
RateLimiting__QueueLimit=50
# -----------------------------------------------------------------------------
# Coordinator host
# -----------------------------------------------------------------------------
Coordinator__DefaultQueryTimeoutMs=30000
Coordinator__MaxQueryTimeoutMs=120000
Coordinator__PlanCacheTtlSeconds=3600
Coordinator__ResultCacheTtlSeconds=300
Coordinator__PartialFailurePolicy=BestEffort
Coordinator__MinimumShardCoverage=0.8
ShardMap__Tables__orders__ShardKey=customer_id
ShardMap__Tables__orders__ShardCount=4
ShardMap__Tables__orders__Strategy=ConsistentHash
Messaging__EnableCoordinatorConsumer=true
Messaging__EnableWorkerConsumer=false
# -----------------------------------------------------------------------------
# Worker host
# See docs/connecting-databases.md for operator steps to connect shard databases.
# -----------------------------------------------------------------------------
Worker__NodeId=worker-node-01
Worker__Address=127.0.0.1
Worker__GrpcPort=5100
Worker__HealthPort=5101
Worker__Consul__Enabled=true
Worker__Execution__StreamChunkSize=500
Worker__Execution__CommandTimeoutSeconds=25
Worker__Execution__MaxConcurrentQueries=10
Worker__Execution__DrainTimeoutSeconds=15
# Worker__Shards__0=Data Source=./data/shard0.db
# Worker__Shards__1=Data Source=./data/shard1.db
# -----------------------------------------------------------------------------
# Playwright E2E (optional)
# -----------------------------------------------------------------------------
# PLAYWRIGHT_BASE_URL=http://127.0.0.1:5173
# PLAYWRIGHT_MOCK_API=false