module
Version:
v1.14.0
Opens a new window with list of versions in this module.
Published: Jul 23, 2022
License: MIT
Opens a new window with license information.
README
¶
fb2lib
![Pipeline](https://github.com/egnd/fb2lib/actions/workflows/latest.yml/badge.svg)
This is a server for indexing and searching fb2-books at zip archives.
Quick start:
-
Put your archives with books into books
folder
-
Build books index:
docker run --rm -t --entrypoint=build_index \
-v $(pwd)/cfg.yml:/configs/app.override.yml:ro \
-v $(pwd)/books:/var/libs/default:ro \
-v $(pwd)/index:/var/index:rw \
-v $(pwd)/db:/var/db:rw \
-v $(pwd)/logs:/var/logs:rw \
egnd/fb2lib
- Build books summary:
docker run --rm -t --entrypoint=build_summary \
-v $(pwd)/cfg.yml:/configs/app.override.yml:ro \
-v $(pwd)/db:/var/db:rw \
-v $(pwd)/logs:/var/logs:rw \
egnd/fb2lib
- Create
docker-compose.yml
:
version: "3.8"
services:
app:
image: egnd/fb2lib
ports:
- 80:8080
volumes:
- ./cfg.yml:/configs/app.override.yml:ro
- ./libs/default:/var/libs/default:ro
- ./index:/var/index:rw
- ./db:/var/db:rw
- Run server with:
docker-compose up
- Server is available at http://localhost
Hints:
Directories
¶
Click to show internal directories.
Click to hide internal directories.