-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathquickstart.env.example
More file actions
27 lines (22 loc) · 1.07 KB
/
quickstart.env.example
File metadata and controls
27 lines (22 loc) · 1.07 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
# Nemo quickstart — copy to `.env` in the repo root and adjust.
#
# Docker Compose reads `.env` automatically for variable substitution (e.g. LEAN_API_URL).
# Local binary (bash/zsh): from repo root run:
# set -a && . ./.env && set +a
# then ./scripts/build.sh && ./zig-out/bin/nemo
#
# Upstream must expose the Lean HTTP API (e.g. /lean/v0/*), typically on port 5052.
# Comma-separated base URLs, no trailing slash. Order is fallback: the backend tries
# each URL until one delivers a valid fork_choice (HTTP ok, JSON, DB persist) or health.
# Example with a backup node:
# LEAN_API_URL=http://127.0.0.1:5052,http://192.168.1.10:5052
LEAN_API_URL=http://127.0.0.1:5052
# Docker on Mac/Windows (node on host):
# LEAN_API_URL=http://host.docker.internal:5052
NEMO_PORT=5053
# SQLite path (local binary: relative paths are from your current working directory).
NEMO_DB_PATH=nemo.db
# Static UI (local binary only; fixed inside the container image for Docker).
WEB_DIST=frontend/dist
# Seconds between background fork-choice syncs (matches leanSpec SECONDS_PER_SLOT).
SYNC_INTERVAL_SEC=4