Self-hosting & operations

Self-hosting overview

What you run when you host Elysium Morning: one Next.js server with an in-process chain indexer and a file-backed store, a TLS reverse proxy, and nothing else.

Last updated 1 min readv1.0

In production (MODE=live, Elysium mainnet, chain id 99901), Elysium Morning is a single Next.js server. It serves the landing page, the app, these docs and the API, runs a chain indexer in-process that reads the deployed contracts over JSON-RPC, and persists the indexer cursor and off-chain data as JSON files under DATA_DIR. There is no database to provision. The server never signs transactions: users sign them in their own wallets.

PieceWhat it is
Web serverNext.js 16 output: "standalone" server (node server.js), port 3030
StateJSON documents in DATA_DIR (the indexer's log cursor and indexed state in chain-<chainId>.json, profile names, API keys), written atomically. The funds and protocol state themselves live on-chain
ChainOutbound JSON-RPC to Elysium (RPC_URL); the indexer follows the contract events and resumes from its cursor after a restart
PricesOutbound HTTPS to the Hyperliquid info API (server-side only; browsers never call third parties)
Live feedSSE at /api/stream, from the same process
Proxynginx (or any TLS proxy) in front, with SSE buffering disabled

#Quick start

Shell
git clone <repo> elysium-morning && cd elysium-morning
cp .env.example .env          # then set MODE=live, SESSION_SECRET, SITE_URL and the contract addresses
docker compose up -d --build  # http://127.0.0.1:3030
curl -s http://127.0.0.1:3030/api/health
Something unclear or wrong on this page? Report it.Updated Dec 1, 2026 · v1.0