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 UGREEN NAS using Docker & Portainer.
STEP 1
Please Support My work by Making a Donation.
STEP 2
InstallĀ Portainer using my step by step guide. If you already have Portainer installed on your UGREEN NAS, skip this STEP. Attention: Make sure you have installed the latest Portainer version.
STEP 3
Add Read & Write Permissions to the Docker Folder. If you have already added the Read and Write Permissions to the Docker Folder, skip this STEP.
STEP 4
ā ļøMandatory: Enable HTTPS on your UGREEN NAS.
STEP 5
Create a new hostname on the noip website using your noip account. For example, I have created mariuscalibre as Host and I use the free ddns.net domain. In the IP Address area, type in your own IPV4 IP address from your ISP, then click Create. Follow the instructions in the image below.
STEP 6
Go toĀ File Manager 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.
STEP 7
Log into Portainer using your username and password. On the left sidebar in Portainer, click on StacksĀ thenĀ + Add stack. Follow the instructions in the image below.
STEP 8
In the Name field type in calibre. Follow the instructions in the image below.
services: calibre: container_name: Calibre image: ghcr.io/linuxserver/calibre mem_limit: 4g cpu_shares: 768 security_opt: - no-new-privileges:true - seccomp:unconfined restart: on-failure:5 ports: - 7080:8080 - 7081:8081 - 8181:8181 volumes: - /volume1/docker/calibre:/config:rw environment: CUSTOM_USER: marius PASSWORD: mariushosting TZ: Europe/Bucharest PUID: 999 PGID: 10
Note: Before you paste the code above in the Web editor 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 Web editor 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.
Note: Before you paste the code above in the Web editor area below, change the value for TZ.Ā (Select your current Time Zone from this list.)
Note: Before you paste the code above in the Web editor 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.)
STEP 9
Scroll down on the page until you see a button namedĀ Deploy the stack. Click on it. Follow the instructions in the image below. The installation process can take up to a few minutes. It will depend on your Internet speed connection.
STEP 10
If everything goes right, you will see the following message at the top right of your screen: āSuccess Stack successfully deployedā.
STEP 11
Open your Nginx Proxy Manager container that you have previously installed at STEP 4. Click Add Proxy Host. A new pop up window will open. Add the following details:
Domain Names: Type in your own noip domain name that you have previously created at STEP 5.
Scheme: https
Forward Hostname/IP: Type in the local NAS IP of your UGREEN NAS.
Forward Port: Type in the Calibre local Port that is 8181
Check Block Common Exploits
Check Websockets Support
Click the SSL tab. Follow the instructions in the image below.
STEP 12
After you click the SSL tab, add the following details:
SSL Certificate: Request a new SSL Certificate
Check: Force SSL
Check: HSTS Enabled
Check: HTTP/2 Support
Email Address for Let’s Encrypt: Type in your own Email Address.
Check: I Agree to the Let’s Encrypt Terms of Service.
Click Save. Follow the instructions in the image below.
STEP 13
In the Proxy Hosts area, if everything goes right, you will see that your calibre hostname has been generated. Click on it. Follow the instructions in the image below.
STEP 14
š¢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 15
Now open your browser and type in your HTTPS/SSL certificate like this https://yourname.ddns.netĀ In my case it’s https://mariuscalibre.ddns.net 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 8, then click Sign In. Follow the instructions in the image below.
STEP 16
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.
STEP 17
Choose your e-book device, then click Next. Follow the instructions in the image below.
STEP 18
Congratulations! You have successfully set up calibre. Click Finish to apply your settings.
STEP 19
Your Calibre dashboard at a glance!
STEP 20
You can also connect to Calibre via localhost. Type in https://your-ugreen-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.
Click Proceed. Follow the instructions in the image below.
Your Calibre instance in localhost at a glance!
Enjoy Calibre on your UGREEN NAS!
Remember: Your ebooks should be inserted in the following path folder /volume1/docker/calibre/Calibre Library
Note: If you want to run the Calibre container over HTTPS, check out How to Run Docker Containers Over HTTPS on Your UGREEN NAS.
šNote/Update/Container: How to Update Your Docker Containers on UGREEN NAS Using Portainer.
š³Note: How to Create Docker Shortcuts on Desktop.
šNote: How to Update Portainer to the latest version.
This post was updated on Thursday / July 31st, 2025 at 12:59 AM