How to Install Calibre on Your Synology NAS

How to Install Calibre on Your Synology NAS

Calibre is a cross-platform open-source suite of e-book software by Kovid Goyal. Calibre supports organizing existing e-books into virtual libraries, displaying, editing, creating and converting e-books, as well as syncing e-books with a variety of e-readers. Editing books is supported for EPUB and AZW3 formats. In short, Calibre is a powerful and easy to use e-book manager. Users say it’s outstanding and a must-have. It’ll allow you to do nearly everything and it takes things a step beyond normal e-book software. It’s also completely free and open source, and great for both casual users and computer experts. In this step by step guide I will show you how to install Calibre on your Synology NAS using Docker.

šŸ’”Note:Ā This guide works perfectly with the latest Calibre 8.7 release.

šŸ’”Note: Check out my new guide on how to Install Calibre Using Portainer.

šŸ’”Note: Check out my new All in One Solution For Calibre With Calibre-Web Automated.

šŸ’”Note: Check out my new guide on how to Install Calibre on Your UGREEN NAS.

  • STEP 1

Please Support My work by Making a Donation.

  • STEP 2

Install Container Manager via Synology ā€œPackage Centerā€. If you run an older DSM version (under 7.2), search for Docker instead of Container Manager.

Download Container Manager Synology Docker

  • STEP 3

Make sure you have a synology.me Wildcard Certificate. Follow my guide to get a Wildcard Certificate. If you already have a synology.me Wildcard certificate, skip this STEP.

  • STEP 4

Go toĀ Control PanelĀ /Ā Login PortalĀ /Ā AdvancedĀ Tab / clickĀ Reverse Proxy. Follow the instructions in the image below.

Calibre Synology NAS Set up 1 new 2027

  • STEP 5

Now click the ā€œCreateā€ button. Follow the instructions in the image below.

Calibre Synology NAS Set up 2 new 2027

  • STEP 6

After you click the Create button, the window below will open. Follow the instructions in the image below.

On the General area, set the Reverse Proxy Name description: type in Calibre. After that, add the following instructions:

Source:
Protocol:Ā HTTPS
Hostname: calibre.yourname.synology.me
Port:Ā 443

Check Enable HSTS

Destination:
Protocol:Ā HTTPS
Hostname:Ā localhost
Port:Ā 8181

Calibre Synology NAS Set up 3 new 2027

  • STEP 7

On the Reverse Proxy Rules click the Custom HeaderĀ tab. ClickĀ CreateĀ and then, from the drop-down menu, clickĀ WebSocket. After you click on WebSocket, two Header Names and two Values will be automatically added. ClickĀ Save. Follow the instructions in the image below.

Synology Proxy WebSocket

  • STEP 8

Go to Control Panel / Network / Connectivity / Check Enable HTTP/2 then click Apply. Follow the instructions in the image below.

Calibre Synology NAS Set up 4 new 2027

  • STEP 9

Go to Control Panel / Security / Advanced tab/ Check Enable HTTP CompressionĀ then click Apply. Follow the instructions in the image below.

Calibre Synology NAS Set up 5 new 2027

  • STEP 10

Go to File Station and open the docker folder. Inside the docker folder, create one new folder and name it calibre. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.

Calibre Synology NAS Set up 1 new 2024

  • STEP 11

Go toĀ Control PanelĀ /Ā Task SchedulerĀ /Ā CreateĀ /Ā Scheduled TaskĀ /Ā User-defined script. Follow the instructions in the image below.

Synology User Defined Script

  • STEP 12

Once you click on User-defined script, a new window will open. Follow the instructions below:

  1. General: In the Task field type in ā€œInstall Calibreā€œ. Uncheck the ā€œEnabledā€ option. Select rootĀ User.
  2. Schedule: SelectĀ Run on the following dateĀ then select ā€œDo not repeatā€œ.
  3. Task Settings: Check ā€œSend run details by emailā€œ, add your email then copy paste the code below in the Run command area. After that, click OK.
docker run -d --name=calibre \
-p 7080:8080 \
-p 7081:8081 \
-p 8181:8181 \
-e PUID=1026 \
-e PGID=100 \
-e TZ=Europe/Bucharest \
-e CUSTOM_USER=marius \
-e PASSWORD=mariushosting \
-v /volume1/docker/calibre:/config \
--security-opt seccomp=unconfined \
--restart always \
ghcr.io/linuxserver/calibre

Note: Before you paste the code above in the Run command area below, change the value numbers for PUIDĀ andĀ PGIDĀ with your own values. (Follow my step by step guide on how to do this.)
Note: Before you paste the code above in the Run command area below, change the value for TZ.Ā (Select your current Time Zone from this list.)
Note: Before you paste the code above in the Run command area below, change the value for CUSTOM_USER. Type in your own username. marius is an example for a username.
Note: Before you paste the code above in the Run command area below, change the value for PASSWORD. Type in your own password. mariushosting is an example for a password. āš ļøWarning: Do NOT use passwords with special characters.

Calibre Synology NAS Set up 3 new2 2026

  • STEP 13

After you click OK on STEP 12 a new warning pop up window will open. Click OK.

Calibre Synology NAS Set up 4 new 2023

After you click OK, type in your DSM Password then click Submit. Follow the instructions in the image below.

Synology Task Scheduler Confirm Admin Password

  • STEP 14

After you click Submit on STEP 15, select your ā€œInstall Calibreā€ Task then click the ā€œRunā€ tab. You will be asked to run Install Calibre – click OK. Follow the instructions in the image below.

Calibre Synology NAS Set up 5 new 2024

āŒ›Now just wait because the Calibre image is about 2GB.

  • STEP 15

🟢Please Support My work by Making a Donation. Almost 99,9% of the people that install something using my guidesĀ forget to support my work, or justĀ ignoreĀ STEP 1. I’ve been very honest about this aspect of my work since the beginning: I don’t run any ADS, I don’t require subscriptions, paid or otherwise, I don’t collect IPs, emails, and I don’t have any referral links from Amazon or other merchants. I also don’t have any POP-UPs or COOKIES. I have repeatedly been told over the years how much I have contributed to the community. It’s something I love doing and have been honest about my passion since the beginning. But I also Need The Community to Support me Back to be able to continue doing this work.

  • STEP 16

Now open your browser and type in your HTTPS address like this https://calibre.yourname.synology.me In my case it’s https://calibre.mariushosting.synology.me If everything goes right, you will see the Calibre Login page. Type in your own CUSTOM_USER and PASSWORD that you have previously created at STEP 12, then click Sign In. Follow the instructions in the image below.

Calibre Synology NAS Set up 6 new 2027

  • STEP 17

Choose your language, your calibre library, then click Next. Note: If you don’t get the welcome wizard, try to use the edge browser. If this doesn’t not work either, remember that a fresh browser page rather than a tab allows it to work at least every other time.

Calibre Synology NAS Set up 7 new 2027

  • STEP 18

Choose your e-book device, then click Next. Follow the instructions in the image below.

Calibre Synology NAS Set up 8 new 2027

  • STEP 19

Congratulations! You have successfully set up calibre. Click Finish to apply your settings.

Calibre Synology NAS Set up 9 new 2027

  • STEP 20

Your Calibre dashboard at a glance!

Calibre Synology NAS Set up 10 new 2027

  • STEP 21

You can also connect to Calibre via localhost. Type in https://your-synology-ip-address:8181
Keep in mind, if you type in http:// this will not work. It’s mandatory to use https://

Click Advanced. Follow the instructions in the image below.

Calibre localhost https Synology 1 new

Click Proceed. Follow the instructions in the image below.

Calibre localhost https Synology 2 new

Your Calibre instance in localhost at a glance!

Calibre Synology NAS Set up 11 new 2027

Enjoy Calibre!

Remember: Your ebooks should be inserted in the following path folder /volume1/docker/calibre/Calibre Library

šŸ†˜TROUBLESHOOTING

If you encounter issues by using this container, make sure to check out the Common Docker issuesĀ article.

Note: How to Install Calibre-Web on Your Synology NAS.
Note: How to Back Up Docker Containers on your Synology NAS.
Note
: Find outĀ how to update the Calibre container with the latest image.
Note: Can I run Docker on my Synology NAS?Ā See the supported models.
Note: How to Free Disk Space on Your NAS if You Run Docker.
Note: How to Schedule Start & Stop For Docker Containers.
Note: How to Activate Email Notifications.
Note: How to Add Access Control Profile on Your NAS.
Note: How to Change Docker Containers Restart Policy.
Note: How to Use Docker Containers With VPN.
Note: Convert Docker Run Into Docker Compose.
Note: How to Clean Docker.
Note: How to Clean Docker Automatically.
Note: Best Practices When Using Docker and DDNS.
Note: Some Docker Containers Need WebSocket.
Note: Find out the Best NAS Models For Docker.
Note: Activate Gmail SMTP For Docker Containers.

This post was updated on Thursday / July 31st, 2025 at 12:59 AM