Source Code: https://github.com/F-TD5X/Dockerfiles/tree/yacreaderlibraryserver-{unrar,p7zip}
built yacreader tag/9.8.1
:unrar for using unrar as decompress backend, :p7zip for using p7zip as decompress backend.
support arch: i386, amd64, armv6, armv7, arm64, so you can easily use it with a rasp or some router.
Usage:
docker run --name yacreaderlibraryserver --network host -v ~/.local/share/YACReader/YACReaderLibrary/:/root/.local/share/YACReader/YACReaderLibrary/ -v <path to comics>:<path inside container> ftd5x/yacreaderlibraryserver-alpine:edge
docker exec yacreaderlibraryserver YACReaderLibraryServer add-library <library name> <path inside container>
docker exec yacreaderlibraryserver YACReaderLibraryServer update-library <path inside container>
Docker-compose
version: "3"
services:
yacreaderlibraryserver:
container_name: yacreaderlibraryserver
environment:
- PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
- LC_ALL=C.UTF8
image: ftd5x/yacreaderlibraryserver-alpine:unrar
restart: always
network_mode: host
volumes:
- $PWD/comics:/comics
- $PWD/config:/root/.local/share/YACReader/YACReaderLibrary
deploy:
resources:
limits:
memory: 500M
Default yacreaderlibraryserver.ini:
[General]
LIBRARIES=@ByteArray(\0\0\0\0)
[docroot]
path=/usr/share/yacreader/server/docroot
[listener]
port=8080
cleanupInterval=10000
maxMultiPartSize=32000000
maxRequestSize=32000000
maxThreads=1000
minThreads=50
[mainLogFile]
fileName=/root/.local/share/YACReader/YACReaderLibrary/server_log.log
maxBackups=1
maxSize=1048576
minLevel=2
[sessions]
expirationTime=864000000
[templates]
cacheSize=160000
path=/usr/share/yacreader/server/templates
Content type
Image
Digest
sha256:72e4d3834…
Size
150.3 MB
Last updated
over 1 year ago
docker pull ftd5x/yacreaderlibraryserver-alpine:unrar