Skip to content

Installation

You need a folder with books: an INPX collection (.inpx + .zip / .7z archives), a Calibre library or a plain folder with FB2 / EPUB / MOBI / AZW3.

Terminal window
docker run -d \
--name inpx-library \
--restart unless-stopped \
-p 3000:3000 \
-v inpx-app:/app \
-v inpx-data:/app/data \
-v /path/to/library:/library:ro \
-e LIBRARY_ROOT=/library \
habsaec/inpx-library-server:latest

Open http://localhost:3000 and sign in as admin / admin.

  • inpx-data — database, settings and cache. This is the one to back up.
  • inpx-app — application code. When a new image starts, the code in the volume updates itself.
  • Mount other book folders under /sources/… (-v /path/to/epub:/sources/epub:ro) and add them as sources in the admin panel.

Updating: docker pull habsaec/inpx-library-server:latest, then recreate the container with the same command. The image is built for amd64 and arm64.

services:
library:
image: habsaec/inpx-library-server:latest
container_name: inpx-library
restart: unless-stopped
ports:
- "3000:3000"
volumes:
- app-code:/app
- app-data:/app/data
- /path/to/library:/library:ro
environment:
- LIBRARY_ROOT=/library
volumes:
app-code:
app-data:
Terminal window
docker compose up -d

Behind HTTPS / a reverse proxy (nginx, Caddy, Traefik), set TRUST_PROXY=1 and SESSION_SECURE_COOKIE=true.

Next: getting started.