git clone https://github.com/your-org/lantern.git
cd lantern
docker compose -f docker/docker-compose.yml up -dThis starts:
- Ingest server on port 4100
- Dashboard on port 3000
- PostgreSQL on port 5432
docker compose -f docker/docker-compose.dev.yml up -dcd packages/ingest
pnpm install
pnpm build
pnpm start| Variable | Default | Description |
|---|---|---|
PORT |
4100 |
Ingest server port |
STORE_TYPE |
sqlite |
Storage backend (sqlite/postgres) |
DB_PATH |
lantern.db |
SQLite database path |
DATABASE_URL |
— | PostgreSQL connection string |
- Use PostgreSQL for production workloads
- Put a reverse proxy (nginx/Caddy) in front of the ingest server
- Enable TLS for the ingest endpoint
- Set up log rotation for the ingest server