Browse your EPUB and PDF collection through a browser interface with full EPUB reading capabilities
1.8K
Documentation: https://gitlab.bjoernbartels.earth/golang/ebook-browser/-/wikis/home
# Build the Docker image
docker build -t ebook-browser:latest .
# Or use the helper script
./build-docker.sh
# Run the container
docker run -d \
--name ebook-browser \
-p 8080:8080 \
-v /path/to/your/books:/app/books:ro \
ebook-browser:latest
# Access at http://localhost:8080
# Start the service
docker-compose up -d
# View logs
docker-compose logs -f
# Stop the service
docker-compose down
Mount your books directory to /app/books inside the container:
# Example for macOS/Linux
-v /Users/username/Books:/app/books:ro
# Example for Windows
-v C:\Users\username\Books:/app/books:ro
Note: The :ro flag mounts the volume as read-only for security.
| Variable | Default | Description |
|---|---|---|
BOOKS_PATH | /app/books | Path to books directory |
PORT | 8080 | Server port |
appuser (UID 1001)docker logs ebook-browser
docker inspect ebook-browser --format='{{.State.Health.Status}}'
docker exec -it ebook-browser sh
docker exec ebook-browser ls -la /app/books
# Pull latest code
git pull
# Rebuild image
docker build -t ebook-browser:latest .
# Recreate container
docker-compose down && docker-compose up -d
Content type
Image
Digest
sha256:d0933a2f1…
Size
43.3 MB
Last updated
2 months ago
docker pull bbdrummer/ebook-browser