b1n4ryj4n / koreader-sync Goto Github PK
View Code? Open in Web Editor NEWSimple implementation of the KOReader position sync server for self-hosting at home which has docker support for arm and amd64 :)
License: MIT License
Simple implementation of the KOReader position sync server for self-hosting at home which has docker support for arm and amd64 :)
License: MIT License
Hi! Can you create an image in docker hub? My server doesnt have docker compose built in and I tried using my laptop but it has a different architecture (ARM vs x86). :(
Hi,
I'm currently searching for an ereader app that supports OPDS as well progress syncing across devices. Koreader seems to offer both with the sync server and I've tried to spin up your image from docker hub using compose on my system.
This works fine and koreader can connect as well as push updates.
However, to backup the container state I would like to mount the database to a persistent volume through docker compose and backup this directory. But when I try to mount the "/app" directory, the container no longer starts with the following error
ERROR: Error loading ASGI app. Could not import module "kosync".
If I don't mount any volumes, the container works fine.
Could you modify the image so that it is possible to mount the database to a volume and have it backed up externally?
Someone on stackoverflow posted this as a solution for his app https://stackoverflow.com/a/71875029
Since in your image, "/app" is directly in the root of the container image, this doesn't work. Heres my compose snippet for your container:
# Koreader-Sync
koreader-sync:
image: b1n4ryj4n/koreader-sync:latest
container_name: koreader-sync
restart: unless-stopped
security_opt:
- no-new-privileges:true
environment:
UID: $PUID
GID: $PGID
TZ: $TZ
volumes:
- $DOCKERDIR/koreader-sync:/app
I really appreciate your work and I'd like to donate a (small) amount of money as a way to thank you. Do you have a buymeacoffee account or something similar?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.