Run Lightnovel Crawler in Docker for containerized deployment
Docker is the recommended way to run Lightnovel Crawler in a reproducible, portable environment. The official image is published to GitHub Container Registry and includes Calibre, so all output formats work out of the box.
# Build base image (Calibre + system deps) then application imagemake docker-build# Equivalent manual command (requires the base image to already exist)docker build -t lncrawl .
The repository includes a local Docker Compose file at scripts/local-compose.yml that wires together the app server, a PostgreSQL database, and a Selenium Chrome node for JavaScript-heavy sites.
# Start the full stack in the backgroundmake docker-up# or: docker compose -f scripts/local-compose.yml up -d# Stop the stackmake docker-down# Stream container logsmake docker-logs
The compose stack exposes:
Service
Port
Description
server
8080
Lightnovel Crawler web server
postgres
5432
PostgreSQL database
chrome
4444, 7900
Selenium Chrome node
For production deployments, use scripts/server-compose.yml as a starting point. It references the published ghcr.io/lncrawl/lightnovel-crawler:latest image and omits the Chrome node by default.