Quote:
Originally Posted by Venia Legendi
|
Supporting this - I also set up a new container with this image, which is actively maintained.
Steps:
- Get image from registry
- Create new container. Adapt settings to your needs:
- Map volume from your books directory on Synology to anything - in my case inspiringly /books
- Still in volumes: map somewhere on your Synology files to /config - I put this next to my books directory
- Set local ports to somewhere not conflicting with everything else, e.g. 8080 to 18080, 8081 to 18081 and son on
- Set environment variables, e.g. TZ to your timezone, PUID and GUID to the owner of the files and directories of your books (use ls -l to find out)
- This image has the capability to set a user and password to protect access to Guacamole (the piece of software that acts as a virtual RDP client), enabling you to expose the full Calibre GUI if you are so inclined. Set GUAC_USER and GUAC_PASS as described in the readme accordingly if you want to use it. You need to create this setting before starting the container (or before updating, see below for how).
- Run the container
- In your browser, go to the local port you mapped to 8080 on your Diskstation (e.g. 192.168.1.10:18080).
- On the first run, you can set the directory you mapped your books to (e.g. /books)
This is it to access everything from within your network. But then you would probably not do this in the first place. So if you want to expose Calibre Web and / or the Calibre GUI, use the reverse proxy within the Application Portal. I have just mapped two different subdomains of the domain my Diskstation is running at to the local equivalent (see above) of port 8081 for Calibre Web and 8080 for the GUI (with GUAC_USER and GUAC_PASS set). Personally, I use a wildcard Let's Encrypt certificate to have HTTPS on the incoming side of the proxy, but have not yet found a way to update the certificate without manual intervention.
Anyway, the good thing about LinuxServer.io's image is that it very actively gets regular updates. Updating is easy, but make sure you have mapped /config to some place outside the container (see above) to not lose any settings:
- Stop your Calibre container.
- Download the latest image from the registry.
- Right click on your existing container, select Action - Clear.
- Once the download has finished, just restart the container.