-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy path.env.example
More file actions
71 lines (60 loc) · 2.93 KB
/
.env.example
File metadata and controls
71 lines (60 loc) · 2.93 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
# =============================================================================
# Platform Validator Configuration
# =============================================================================
# Copy this file to .env and configure your validator.
#
# Usage:
# cp .env.example .env
# nano .env # Edit with your values
# docker compose up -d
# =============================================================================
# -----------------------------------------------------------------------------
# REQUIRED: Validator Secret Key
# -----------------------------------------------------------------------------
# Your validator hotkey as a BIP39 mnemonic (24 words).
# This must match the hotkey registered on the Bittensor subnet.
#
# Example:
# VALIDATOR_SECRET_KEY=word1 word2 word3 word4 word5 word6 word7 word8 word9 word10 word11 word12 word13 word14 word15 word16 word17 word18 word19 word20 word21 word22 word23 word24
#
VALIDATOR_SECRET_KEY=
# -----------------------------------------------------------------------------
# Network Configuration (Optional)
# -----------------------------------------------------------------------------
# Subnet UID (default: 100)
# NETUID=100
# Bittensor RPC endpoint
# SUBTENSOR_ENDPOINT=wss://entrypoint-finney.opentensor.ai:443
# -----------------------------------------------------------------------------
# Port Configuration (Optional)
# -----------------------------------------------------------------------------
# JSON-RPC API port (default: 8080)
# RPC_PORT=8080
# P2P libp2p port (default: 8090)
# P2P_PORT=8090
# -----------------------------------------------------------------------------
# P2P Configuration (Optional)
# -----------------------------------------------------------------------------
# Run integrated bootnode (default: false)
# WITH_BOOTNODE=true
# BOOTNODE_PORT=8090
# Public IP for P2P announcements (auto-detected if not set)
# EXTERNAL_IP=1.2.3.4
# Bootstrap peers (auto-discovered from Bittensor if not set)
# BOOTSTRAP_PEERS=/ip4/1.2.3.4/tcp/8090/p2p/12D3KooW...
# -----------------------------------------------------------------------------
# LLM Review (Optional)
# -----------------------------------------------------------------------------
# Chutes API key for LLM review host function (enables LLM reviews in WASM challenges)
# Get your key at https://chutes.ai
# CHUTES_API_KEY=cpk_...
# -----------------------------------------------------------------------------
# Logging (Optional)
# -----------------------------------------------------------------------------
# Log level: error, warn, info, debug, trace
# RUST_LOG=info,validator_node=debug,platform_p2p_consensus=info
# -----------------------------------------------------------------------------
# Notifications (Optional)
# -----------------------------------------------------------------------------
# Slack webhook for Watchtower update notifications
# SLACK_WEBHOOK_URL=https://hooks.slack.com/services/xxx/xxx/xxx