-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathproxy-router.all.env
99 lines (89 loc) · 3.94 KB
/
proxy-router.all.env
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
# Full set of proxy-router variables based on the proxy-router/internal/config/config.go file
# Includes known TESTNET and MAINNET Values if/when known
# Currently aligned to TESTNET, but after MAINNET launch, will be updated to MAINNET values
# Application Configurations
# Set to true to reset mac keychain on start
APP_RESET_KEYCHAIN=false
# Path for auth config file with permissions
AUTH_CONFIG_FILE_PATH=
# Path for cookie file with admin user/password for API access
COOKIE_FILE_PATH=
# Blockchain Configurations
# Ethereum Chain ID (must be a number)
# TESTNET: 421614, MAINNET: 1
ETH_NODE_CHAIN_ID=421614
# Ethereum node URL (optional, must be a valid URL)
ETH_NODE_ADDRESS=
# Set to true to disable EIP-1559 transactions
ETH_NODE_LEGACY_TX=false
# Blockchain explorer API URL (required, must be a valid URL)
# TESTNET: https://api-sepolia.arbiscan.io/api, MAINNET: https://api.arbiscan.io/api
EXPLORER_API_URL=https://api-sepolia.arbiscan.io/api
# Delay between retries for blockchain explorer API (defaults to 5s if not set)
EXPLORER_RETRY_DELAY=
# Maximum retries for explorer requests (defaults to 5 if not set)
EXPLORER_MAX_RETRIES=
# Set to true to enable subscriptions/wss for blockchain events, otherwise, http polling will be used
ETH_NODE_USE_SUBSCRIPTIONS=false
# Interval for polling eth node for new events (defaults to 10s if not set)
ETH_NODE_POLLING_INTERVAL=
# Maximum number of reconnect attempts to Ethereum node (defaults to 30 if not set)
ETH_NODE_MAX_RECONNECTS=
# Environment Configuration
# Environment for the application (default is "development", production is "production")
ENVIRONMENT=development
# Marketplace Configurations
# Diamond contract address (optional, must be a valid Ethereum address)
# TESTNET: 0xb8C55cD613af947E73E262F0d3C54b7211Af16CF, MAINNET: 0xDE819AaEE474626E3f34Ef0263373357e5a6C71b
DIAMOND_CONTRACT_ADDRESS=0xb8C55cD613af947E73E262F0d3C54b7211Af16CF
# MOR token address (optional, must be a valid Ethereum address)
# TESTNET: 0x34a285a1b1c166420df5b6630132542923b5b27e, MAINNET: 0x092bAaDB7DEf4C3981454dD9c0A0D7FF07bCFc86
MOR_TOKEN_ADDRESS=0x34a285a1b1c166420df5b6630132542923b5b27e
# Private key for signing transactions; if not set, the system keychain will be used
WALLET_PRIVATE_KEY=
# Logging Configurations
# Enable colored logging
LOG_COLOR=false
# Enables logging and folder path for log files (must be a valid directory path)
LOG_FOLDER_PATH=
# Set to true for production log format
LOG_IS_PROD=false
# Log format as JSON
LOG_JSON=false
# Log levels for various components (one of debug info warn error dpanic panic fatal)
LOG_LEVEL_APP=debug
LOG_LEVEL_TCP=info
LOG_LEVEL_ETH_RPC=info
LOG_LEVEL_STORAGE=info
# Proxy Configurations
# Address for the proxy (default is "0.0.0.0:3333" if not set)
PROXY_ADDRESS=0.0.0.0:3333
# Path for proxy storage (default is "./data/badger/")
PROXY_STORAGE_PATH=./data/badger/
# Set to true to store chat context in proxy storage
PROXY_STORE_CHAT_CONTEXT=true
# Prepend whole stored message history to the prompt
PROXY_FORWARD_CHAT_CONTEXT=true
# Path to models configuration file
MODELS_CONFIG_PATH=
# System Configurations
# Enable system-level configuration adjustments
SYS_ENABLE=false
# Local port range (default is "1024 65535")
SYS_LOCAL_PORT_RANGE=1024 65535
# Max backlog for network devices (default is "100000")
SYS_NET_DEV_MAX_BACKLOG=100000
# Hard limit for open file descriptors (default is 524288)
SYS_RLIMIT_HARD=524288
# Soft limit for open file descriptors (default is 524288)
SYS_RLIMIT_SOFT=524288
# Maximum connections allowed in the queue before they are refused
# (default is "100000" for Linux, "2048" for Darwin/macOS)
SYS_SOMAXCONN=100000
# Maximum number of half-open connections that can be queued (default is "100000")
SYS_TCP_MAX_SYN_BACKLOG=100000
# Web Configurations
# Address for the web server (default is "0.0.0.0:8082" if not set)
WEB_ADDRESS=0.0.0.0:8082
# Public URL of the proxyrouter (falls back to http://Localhost:WEB_ADDRESS if not set)
WEB_PUBLIC_URL=http://localhost:8082