How do I install Calibre-Web as a Docker container on my Synology nas?Attention: This installation way is outdated and is not compatible with the current Calibre software. Please take a look at this new tutorial:Great things with containers: Running Calibre with Docker Compose. This tutorial is for all Synology DS professionals.
Step 1: Create folder
First, I create a folder for the Calibre library. I go to the “Control Panel” -> “Shared Folder” and create a new folder “Books”.
Step 2: Create Calibre library
Now I copy an existing library or “this empty sample library” to the new directory. I myself copied the existing library of the desktop application.
Step 3: Find Docker image
I click on the “Registry” tab in the Synology Docker window and search for “Calibre”. I select the Docker image “janeczku/calibre-web” and then click on the tag “latest”.
After the image download, the image is available as an image. Docker distinguishes between 2 states, container “dynamic state” and image/image (fixed state). Before we now create a container from the image, a few settings must be made.
Step 4: Put the image into operation:
I double click on my Calibre image.
After that I click on “Advanced settings” and activate the “Automatic restart”. I select the “Volume” tab and click on “Add Folder”. There I create a new database folder with this mount path “/calibre”.
I assign fixed ports for the Calibre container. Without fixed ports it could be that Calibre runs on a different port after a reboot.
After these settings Calibre can be started!
I now call my Synology IP with the assigned Calibre port and see the following picture. As “Location of Calibre Database” I enter “/calibre”. The rest of the settings are a matter of taste.
The default login is “admin” with password “admin123”.
Done! Of course, I can now also connect the desktop app via my “book folder”. I swap the library in my app and then select my Nas folder.
Something like this:
Now when I edit meta info in the desktop app, it is automatically updated in the web app as well.