-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
43 lines (37 loc) · 1.58 KB
/
Copy path.env.example
File metadata and controls
43 lines (37 loc) · 1.58 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
# Backend
PORT=3001
CORS_ORIGIN=http://localhost:3000
# Avian RPC connection (backend -> aviand)
AVIAN_RPC_HOST=aviand
AVIAN_RPC_PORT=7896
AVIAN_RPC_USER=avianrpc
AVIAN_RPC_PASS=change_me
# Aviand node options
# Enable UPnP for automatic port forwarding (helps get inbound P2P connections)
# Set to 1 if your router supports UPnP and you want inbound peers
AVIAN_UPNP=1
# Disable wallet support (default: 1 = disabled, lighter and more secure for monitoring)
# Set to 0 to enable wallet RPC commands like sendtoaddress, listunspent, etc.
AVIAN_DISABLE_WALLET=1
# RPC allowlist configuration (optional)
# Default: safe read-only commands + stop
# Add extra commands (comma-separated):
# RPC_ALLOWLIST_EXTRA=getrawtransaction,decoderawtransaction,getaddressinfo
# Or use ONLY these commands (strict mode, overrides defaults):
# RPC_ALLOWLIST_ONLY=getblockchaininfo,getnetworkinfo,uptime
# Docker control (optional)
# Allows start/stop/restart of aviand container from the UI.
# Requires TWO things:
# 1. Set ENABLE_DOCKER_CONTROL=1 here
# 2. Uncomment the socket mount in docker-compose.yml:
# - /var/run/docker.sock:/var/run/docker.sock
# Works on Linux, macOS, and Windows (Docker Desktop handles the socket translation).
ENABLE_DOCKER_CONTROL=0
AVIAN_CONTAINER_NAME=aviand
# Debug log viewer (optional)
ENABLE_LOG_VIEW=0
AVIAND_DEBUG_LOG_PATH=/data/debug.log
# Discord Node Operator Role (optional)
# Allows verified node operators to claim a Discord role.
# DISCORD_VERIFY_URL=https://verify.avn.network/verify
# DISCORD_VERIFY_SECRET=8c370428a2efaa89aa87ca9b6285fc58d32bd7df054a27abd8e350cfd770be5e