Hi,
I have been browsing through this forum, but is there any clear guide how to set up the server in Docker on Synology NAS?
I am trying to stream comics (without full download) from my Synology NAS to my iPad but encounter lots of problems or unclarity.
I have installed Docker and the following yacreaderlibaryserver docker image on my NAS.
hub.docker.com/r/muallin/yacreaderlibrary-server-docker
In Synology FileStation, under Docker i have created a folder yacreaderlibraryserver/comics.
I am not sure if this folder should be populated with the actual comics or can it be linked to the folder on the NAS that has my books? Anyways i copied some books to it and the library database, that i created with Yacreader on my desktop, which was network-mapped to the NAS folder containing my books.
Question1: must there be books present in the Docker yacreaderlibraryserver/comics that i created? Can't i not just point to the NAS original source location?
In the configuration of the container i have the folders mounted as:
NAS: yacreaderlibraryserver/comics
Mount as: /comics
As http port i have mapped:
NAS: 8081
Docker: 8080
Startup set as automatic. All others settings are default.
Question2: can i also use https? Since i will be using the iPad and connect via http, can my credentials be intercepted?
The container starts up fine. When i go to http://nas-ip:8081 i get a webpage with Libraries only, but if i have copied the previously generated library to the docker /comics folder i will see another library with the book covers
When i click on a book cover, choose Read i get 404 Not Found.
If i click on Import i get some file properties as text of the book only???
I don't see the book contents.
Question3: is this because the library was generated in the original NAS folder with the books. Maybe the database is holding the absolute file path instead of the relative ones?
In Synology, in the container terminal, i enter following to add any additional library
YACReaderLibraryServer add-library yacreaderlibraryserver/comics /comics
I am not sure if this is needed.
Question4: is this command correct or should i have created another folder under the Docker/yacreaderlibraryserver folder and gave source and mount other name instead of comics again?
In my iPad when i use Yacreader app to connect to http://nas-ip:8081 i get connection failed it can't see my NAS. If i use the webbrowser i can reach this side and see the library page.
I have tried for hours and many attempts but still it doesn't work.
My NAS is portforwarded in my modem for other services, but i don't want this yacreaderlibrary port to be accessible from internet, so i haven't done any portforwarding for this in my modem. I don't think is should be necessary since in iPad webbrowser i can access http://nas-ip:8081
I hope someone can give me some help on this. Thanks.