Synology: Install Kavita With Portainer

Synology Install Kavita With Portainer

My previous guide for Kavita involved the use of Task Scheduler. Today I’m offering a recommended and excellent alternative for installing the latest Kavita version via Portainer. Kavita is a fast, feature rich, cross platform reading server. Built with a focus for manga, and the goal of being a full solution for all your reading needs. Set up your own server and share your reading collection with your friends and family! Serve up Manga/Webtoons/Comics (cbr, cbz, zip/rar, 7zip, raw images) and Books (epub, pdf) with Kavita. In this step by step guide I will show you how to install Kavita on your Synology NAS using Docker & Portainer.

💡Note: This guide works perfectly with the latest Kavita v.0.7.14 release.

  • 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 Synology NAS, skip this STEP. Attention: Make sure you have installed the latest Portainer version.

  • STEP 3

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

Kavita Synology NAS Set up 1 Portainer

  • STEP 4

Now create two new folders inside the kavita folder that you created at STEP 3 and them config and data. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.

Kavita Synology NAS Set up 2 Portainer

  • STEP 5

Now create one new folder inside the data folder that you created at STEP 4 and it library. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.

Kavita Synology NAS Set up 3 Portainer

  • STEP 6

Populate the library folder with your CBR, PDF, EPUB files etc.

Kavita Synology NAS Set up 4 Portainer

  • 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.

1 Synology Portainer Add Stack

  • STEP 8

In the Name field type in kavita. Follow the instructions in the image below.

Note: Copy Paste the code below in the Portainer Stacks Web editor.

version: "3.9"
services:
  kavita:
    image: jvmilazz0/kavita:latest
    container_name: Kavita
    hostname: kavita
    mem_limit: 4g
    cpu_shares: 768
    security_opt:
      - no-new-privileges:true
    ports:
      - 5471:5000
    volumes:
      - /volume1/docker/kavita/config:/kavita/config:rw
      - /volume1/docker/kavita/data:/manga:rw
    restart: on-failure:5

Kavita Synology NAS Set up 5 Portainer new 2024

  • 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.

Kavita Synology NAS Set up 6 Portainer

  • STEP 10

If everything goes right, you will see the following message at the top right of your screen: “Success Stack successfully deployed“.

Kavita Synology NAS Set up 7 Portainer

  • STEP 11

Go back to STEP 1 or you will deal with karma 🙂

  • STEP 12

The installation process can take up to a few seconds/minutes. It will depend on your Internet speed connection. Now open your browser and type in http://Synology-ip-address:5471 Create your administrator account. Type in your own Username, Email and Password. Click Register. Follow the instructions in the image below.

Kavita Synology NAS Set up 8 Portainer

  • STEP 13

Type in your own Username and Password that you have previously added at STEP 12 then click Submit. Follow the instructions in the image below.

Kavita Synology NAS Set up 9 Portainer

  • STEP 14

Click on Server settings. Follow the instructions in the image below.

Kavita Synology NAS Set up 10 Portainer

  • STEP 15

At the top right of the page click +Add Library. Follow the instructions in the image below.

Kavita Synology NAS Set up 11 Portainer

  • STEP 16

Name your Library, select your library Type, then click Next. Follow the instructions in the image below.

Kavita Synology NAS Set up 12 Portainer

  • STEP 17

Click + Browse for Media Folders. Follow the instructions in the image below.

Kavita Synology NAS Set up 13 Portainer

  • STEP 18

Click on the first folder marked with the / name. Follow the instructions in the image below.

Kavita Synology NAS Set up 14 Portainer

  • STEP 19

Click manga. Follow the instructions in the image below.

Kavita Synology NAS Set up 15 Portainer

  • STEP 20

Click Share. Follow the instructions in the image below. ⚠️Warning: do not click on the library folder.

Kavita Synology NAS Set up 16 Portainer

  • STEP 21

Click Next. Follow the instructions in the image below.

Kavita Synology NAS Set up 17 Portainer

  • STEP 22

Click Next. Follow the instructions in the image below.

Kavita Synology NAS Set up 18 Portainer

  • STEP 23

Click Save. Follow the instructions in the image below.

Kavita Synology NAS Set up 19 Portainer

  • STEP 24

You will see your entire Library under your library name.

Kavita Synology NAS Set up 20 Portainer

  • STEP 25

Now you can start reading your favorite comics!

Kavita Synology NAS Set up 21 Portainer

You have different options, including Dark theme mode and White theme mode.

Kavita Synology NAS Set up 22 Portainer

Now you can start reading your favorite eBooks!

Kavita Synology NAS Set up 23 Portainer

Everything will be fast and clean.

Kavita Synology NAS Set up 24 Portainer

Enjoy Kavita!

🆘TROUBLESHOOTING

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

Note: If you want to run the Kavita container over HTTPS, check How to Run Docker Containers Over HTTPS. In order to make Kavita work via HTTPS, it’s mandatory to activate WebSocket.

Note: Can I run Docker on my Synology NAS? See the supported models.
Note: How to Back Up Docker Containers on your Synology NAS.
Note: Find out how to update the Kavita container with the latest image.
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 Saturday / February 24th, 2024 at 5:48 PM