zeekay a2b779c20c feat: combined explorer image (indexer backend + explore frontend)
Three repos, three images:
  luxfi/indexer  → ghcr.io/luxfi/indexer  (Go backend, API + indexing)
  luxfi/explore  → ghcr.io/luxfi/explore  (Next.js frontend)
  luxfi/explorer → ghcr.io/luxfi/explorer (this: combined single image)

Dockerfile pulls both repos at build time, embeds the Next.js static
export into the Go binary via go:embed, produces a single container.
2026-04-11 13:28:48 -07:00

Explorer

Combined block explorer image: Go backend (luxfi/indexer) + Next.js frontend (luxfi/explore) in a single container.

ghcr.io/luxfi/indexer   ← Go backend (API + chain indexing)
ghcr.io/luxfi/explore   ← Next.js frontend
ghcr.io/luxfi/explorer  ← This: combined single image

Run

docker run -p 8090:8090 \
  -e RPC_ENDPOINT=http://node:9650/ext/bc/C/rpc \
  -e CHAIN_NAME="My Chain" \
  -e COIN_SYMBOL=ETH \
  -v explorer-data:/data \
  ghcr.io/luxfi/explorer

Single port, single image. Backend API at /v1/explorer/*, frontend at /.

Build

docker build -t ghcr.io/luxfi/explorer .

Pulls luxfi/indexer and luxfi/explore from GitHub at build time. Override branches:

docker build \
  --build-arg INDEXER_REF=v1.2.0 \
  --build-arg EXPLORE_REF=v2.7.2 \
  -t ghcr.io/luxfi/explorer .

White-Label

docker run -p 8090:8090 \
  -e RPC_ENDPOINT=http://node:8545 \
  -e CHAIN_NAME="Awesome Chain" \
  -e COIN_SYMBOL=AWE \
  -e CHAIN_ID=12345 \
  ghcr.io/luxfi/explorer

Multi-Chain

Mount a chains.yaml:

docker run -p 8090:8090 \
  -v ./chains.yaml:/etc/explorer/chains.yaml \
  -v explorer-data:/data \
  ghcr.io/luxfi/explorer --config=/etc/explorer/chains.yaml
S
Description
Lux Explorer
Readme BSD-3-Clause
1.1 MiB
Languages
Go 97.3%
Dockerfile 1.7%
Shell 0.8%
HTML 0.2%