-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
69 lines (61 loc) · 3.53 KB
/
Copy pathenv.example
File metadata and controls
69 lines (61 loc) · 3.53 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
# Environment variables
NODE_ENV=development
PORT=3000
LOG_LEVEL=debug
# Dev mode configuration (overrides networks and feeders for local development)
# When DEV_MODE=true, all networks are overridden to use localnet at http://localhost:4001
# and all feeders are overridden to use localnet network
# DEV_MODE=true
# DEV_CONTRACT_ADDRESS=12345678 # Optional: override all contract addresses in feeders (defaults to original addresses)
# DEV_INTERVAL=60000 # Optional: override feeder interval in milliseconds (defaults to 60000 = 1 minute)
# DEV_ALGOD_TOKEN=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa # Optional: override algod token for localnet (defaults to standard localnet token)
# DEV_BATCH_INTERVAL=30000 # Optional: override batch processing interval in milliseconds (defaults to config value, typically 600000 = 10 minutes)
# BURN_RATE_REPORT_INTERVAL=3600000 # Optional: burn rate report interval in milliseconds (defaults to 3600000 = 1 hour)
# BURN_RATE_MAX_FILE_SIZE=5242880 # Optional: maximum burn rate report file size in bytes (defaults to 5242880 = 5MB)
# BURN_RATE_MAX_REPORTS=50 # Optional: maximum number of reports to keep when truncating (defaults to 50)
# TWAP_REPORT_INTERVAL=3600000 # Optional: TWAP report interval in milliseconds (defaults to 3600000 = 1 hour)
# TWAP_REPORT_MAX_FILE_SIZE=5242880 # Optional: maximum TWAP report file size in bytes (defaults to 5242880 = 5MB)
# TWAP_REPORT_MAX_REPORTS=50 # Optional: maximum number of TWAP reports to keep when truncating (defaults to 50)
# Account configuration
MNEMONIC=your twelve or twenty four word mnemonic phrase goes here separated by spaces
# Database configuration
DB_HOST=localhost
DB_PORT=5432
DB_NAME=gooch_feeder
DB_USERNAME=
DB_PASSWORD=
# Optional: Discord incoming webhook for feeder failure alerts (embeds).
# Leave unset to disable. Create a webhook in Discord: Server Settings → Integrations → Webhooks.
# DISCORD_WEBHOOK_URL=https://discord.com/api/webhooks/000000000000000000/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# Min milliseconds between Discord notifications per feeder (0 = no throttle). Default 60000.
# DISCORD_MIN_INTERVAL_MS=60000
# Set true to also notify when using CLI test commands (test:feeder, test:all-feeders). Default off.
# DISCORD_NOTIFY_ON_CLI=false
# Send one Discord message when the service starts (enabled feeders count, batch vs interval mode). Default on.
# DISCORD_NOTIFY_ON_STARTUP=true
# Alert when signer native balance (ALGO/VOI) is below threshold on algorand-mainnet + voi-mainnet. Default on.
# DISCORD_NOTIFY_BALANCE=true
# Threshold in micro-units (5e6 = 5 ALGO / 5 VOI). Default 5000000.
# DISCORD_BALANCE_THRESHOLD_MICRO=5000000
# How often to poll balances (ms). Default 900000 (15 min).
# DISCORD_BALANCE_CHECK_INTERVAL_MS=900000
# Min ms between Discord low-balance alerts per network while still below threshold. Default 3600000 (1h).
# DISCORD_BALANCE_MIN_INTERVAL_MS=3600000
# API configuration
API_BASE_URL=https://api.example.com
API_TIMEOUT=30000
API_RETRIES=3
# Network-specific Algod overrides (optional)
# Format: {NETWORK_ID}_ALGOD_{PROPERTY}
# Network IDs are converted to uppercase with hyphens replaced by underscores
# Examples:
# algorand-mainnet -> ALGORAND_MAINNET
# voi-mainnet -> VOI_MAINNET
# Algorand Mainnet Algod Configuration
# ALGORAND_MAINNET_ALGOD_URL=https://mainnet-api.algonode.cloud
# ALGORAND_MAINNET_ALGOD_PORT=443
# ALGORAND_MAINNET_ALGOD_TOKEN=
# VOI Mainnet Algod Configuration
# VOI_MAINNET_ALGOD_URL=https://mainnet-api.voi.nodely.dev
# VOI_MAINNET_ALGOD_PORT=443
# VOI_MAINNET_ALGOD_TOKEN=