1 Setup
Claude edited this page 2026-04-03 11:11:21 +01:00

Setup

Docker

trade-frontend:
  image: lthn/trade-frontend:testnet
  ports:
    - "3338:30289"
  environment:
    NEXT_PUBLIC_API_URL: http://trade-api:3336
  depends_on:
    - trade-api

Environment Variables

Variable Default Description
NEXT_PUBLIC_API_URL (required) Trade API backend URL

Port

The application listens on port 30289 internally, mapped to 3338 externally by default.

Dependencies

  • Trade API (lthn/trade-api) — must be running and accessible
  • The Trade API in turn requires the daemon and PostgreSQL

Standalone (Development)

npm install
npm run dev

Runs on http://localhost:3000 in development mode.