-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
52 lines (41 loc) · 1.87 KB
/
Copy pathenv.example
File metadata and controls
52 lines (41 loc) · 1.87 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
# Global environment configuration template
# Kafka broker used by services
KAFKA_BROKER=kafka:9092
KAFKA_CLIENT_ID=pmon-local
KAFKA_CONSUMER_GROUP=pmon-gateway
KAFKA_TOPIC_PRICES=hyperliquid.prices
KAFKA_TOPIC_ORDERBOOK=hyperliquid.orderbook
KAFKA_TOPIC_OVERVIEW=hyperliquid.overview
HYPERLIQUID_WS_URL=wss://api.hyperliquid.xyz/ws
HYPERLIQUID_DEX=
HYPERLIQUID_USER=
# Select which websocket feeds each ingestor instance subscribes to
# Accepts comma-separated values or a JSON array; defaults to l2Book,allMids,activeAssetCtx
HYPERLIQUID_STREAMS=["l2Book","allMids","activeAssetCtx","candles:1m","candles:5m","candles:15m","trades","bbo"]
# Optional: provide a manifest describing providers/adapters/shards
INGEST_MANIFEST_PATH=./configs/ingest.sample.yaml
# HTTP port for ingestor metrics and health endpoints
INGESTOR_PORT=4001
# Optional: override the Hyperliquid info/REST API base used by services
HYPERLIQUID_INFO_URL=https://api.hyperliquid.xyz/info
# Optional: explicit REST override (defaults to HYPERLIQUID_INFO_URL when unset)
# HYPERLIQUID_REST_URL=https://api.hyperliquid.xyz/info
# Optional: restrict ingestion to an explicit allow list (comma-separated, case-insensitive).
# Leave empty to ingest the full Hyperliquid universe and let shards hash assets automatically.
HYPERLIQUID_ASSETS=
# Optional: evenly shard the full asset universe across replicas
# e.g. SHARD_COUNT=3 with SHARD_INDEX=0,1,2 for three ingestor pods
HYPERLIQUID_SHARD_COUNT=1
HYPERLIQUID_SHARD_INDEX=0
# Optional: override estimated taker fee rate (basis points) used for revenue estimates
HYPERLIQUID_FEE_RATE_BPS=5
# Redis cache connection
REDIS_URL=redis://redis:6379
# Gateway HTTP port
PORT=4000
# UI/gateway interop
GATEWAY_URL=http://localhost:4000
# Placeholder emission cadence in milliseconds
PLACEHOLDER_EMIT_INTERVAL_MS=3000
# Log level for services (trace|debug|info|warn|error|fatal)
LOG_LEVEL=info