-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
68 lines (55 loc) · 2.62 KB
/
.env.example
File metadata and controls
68 lines (55 loc) · 2.62 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
# Postgres credentials (used by docker-compose)
# POSTGRES_USER=atlas
# POSTGRES_PASSWORD=atlas
# Required: Your L2 RPC endpoint
RPC_URL=http://localhost:8545
# Human-readable name for your chain, displayed in the explorer UI
CHAIN_NAME="My Chain"
# Optional settings (defaults shown)
START_BLOCK=0
BATCH_SIZE=100
REINDEX=false
IPFS_GATEWAY=https://ipfs.io/ipfs/
# Rate limiting for RPC requests (requests per second)
RPC_REQUESTS_PER_SECOND=100
# Number of parallel workers for fetching blocks from RPC
FETCH_WORKERS=10
# Number of blocks to fetch per RPC batch request (reduces HTTP round-trips)
RPC_BATCH_SIZE=20
# API settings
# CORS_ORIGIN=https://explorer.example.com
# API_HOST=127.0.0.1
# API_PORT=3000
# API_DB_MAX_CONNECTIONS=20
# SSE_REPLAY_BUFFER_BLOCKS=4096 # replay tail used only for active connected clients
# Optional: enable DA (Data Availability) inclusion tracking from ev-node.
# Set this to true only when you also provide EVNODE_URL below.
ENABLE_DA_TRACKING=false
# Required when ENABLE_DA_TRACKING=true.
# Must be reachable from the atlas-server process/container.
# EVNODE_URL=http://<ev-node-host-reachable-from-atlas-server>:7331
# Optional when ENABLE_DA_TRACKING=true.
# DA_RPC_REQUESTS_PER_SECOND=50
# DA_WORKER_CONCURRENCY=50
# Branding / white-label (all optional)
# CHAIN_LOGO_URL= # URL or path to logo (e.g., /branding/logo.svg). Default: bundled logo
# CHAIN_LOGO_URL_LIGHT= # URL or path to logo used in light theme
# CHAIN_LOGO_URL_DARK= # URL or path to logo used in dark theme
# ACCENT_COLOR= # Primary accent hex (e.g. #3b82f6). Default: #dc2626 (red)
# BACKGROUND_COLOR_DARK= # Dark mode base background hex. Default: #050505
# BACKGROUND_COLOR_LIGHT= # Light mode base background hex. Default: #f4ede6
# SUCCESS_COLOR= # Success indicator hex. Default: #22c55e
# ERROR_COLOR= # Error indicator hex. Default: #dc2626
# Optional faucet feature
# FAUCET_ENABLED=false
# FAUCET_PRIVATE_KEY=0x...
# FAUCET_AMOUNT=0.01
# FAUCET_COOLDOWN_MINUTES=30
# Optional snapshot feature (daily pg_dump backups)
# SNAPSHOT_ENABLED=false
# SNAPSHOT_TIME=03:00 # UTC time (HH:MM) to run daily pg_dump
# SNAPSHOT_RETENTION=7 # Number of snapshot files to keep
# SNAPSHOT_DIR=/snapshots # Container path for snapshots
# SNAPSHOT_HOST_DIR=./snapshots # Host path mounted to SNAPSHOT_DIR
# UID=1000 # Optional: host UID for writable snapshot bind mounts
# GID=1000 # Optional: host GID for writable snapshot bind mounts