How to Install Inkheart on Your Synology NAS

How to Install Inkheart on Your Synology NAS

Inkheart is a lightweight self-hosted PDF library indexer and reader built for simplicity. It indexes documents stored in a folder structure on disk without using a database, preserving the original filesystem layout for navigation while building an optional text index for full-text search. The application includes an integrated PDF.js reader with support for multiple open documents, direct page linking, reading progress tracking, collections, pinned folders, and light/dark themes. Written with a Rust backend and Svelte frontend, it is distributed as multi-architecture Docker images and deliberately stays focused on efficient PDF handling rather than acting as a full ebook library manager. On my Synology NAS it has been a quiet and reliable addition to the home lab: the Docker container started with almost no configuration, sits comfortably under the radar in terms of CPU and memory, and has made it effortless to browse and open the large collection of technical manuals and papers I keep on the array, complete with page-level links I can drop straight into notes. In this step by step guide I will show you how to install InkheartĀ on your Synology NAS using Docker & Dockhand.

šŸ’”Note: This guide works perfectly with the latest Inkheart v1.5.1Ā release.

  • STEP 1

Please Support My work by Making a Donation.

  • STEP 2

InstallĀ Dockhand using my step by step guide. If you already have Dockhand installed on your Synology NAS, skip this STEP. āš ļøAttention: Make sure you have installed the latest Dockhand version.

  • STEP 3

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

Inkheart Synology NAS Set up 1

  • STEP 4

Now create four new folders inside the inkheart folder that you previously created at STEP 3 and name them config, covers, media, thumbnails. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.

Inkheart Synology NAS Set up 2

  • STEP 5

Mandatory STEP. Populate your media folder that you have previously created at STEP 4 with PDF files.

  • STEP 6

Open your browser and type in http://synology-ip-address:3866 to connect to your Dockhand container. On the left sidebar, click Stacks then + Create. Follow the instructions in the image below.

Dockhand add stack successfully

  • STEP 7

In the Stack name field, type in inkheart. āš ļøWarning: Type in the name in lowercase letters. The installation process can take up to a few seconds/minutes. It will depend on your Internet speed connection. Follow the instructions in the image below.

Note: Copy Paste the code below in the Dockhand Compose Stack then click Create & Start.

services:
  inkheart:
    image: nobbe/inkheart:latest
    container_name: Inkheart
    user: 0:0
    ports:
      - 8681:8681
    volumes:
      - /volume1/docker/inkheart/media:/media:rw
      - /volume1/docker/inkheart/covers:/covers:rw
      - /volume1/docker/inkheart/thumbnails:/thumbnails:rw
      - /volume1/docker/inkheart/config:/config:rw
    environment:
       TELEMETRY_ENABLED: false
       MEDIA_DIR: /media
       IMAGE_DIR: /covers
       THUMBNAIL_DIR: /thumbnails
       CONFIG_DIR: /config
       BIND_ADDR: 0.0.0.0
       BIND_PORT: 8681
       SCAN_INTERVAL: 600
       TEXT_INDEX_ENABLED: true #Set to false to skip PDF text indexing if filename search is enough.
       INDEX_SNAPSHOT_ENABLED: false
      #FIREBASE_CONFIG_PATH: 
       FIREBASE_WHITELIST: /config/whitelist.cfg
    restart: on-failure:5

Inkheart Synology NAS Set up 3

  • STEP 8

If everything goes right, you will see the following message at the bottom right of your screen: ā€œCreated stack “inkheart”ā€œ.

Dockhand add stack successfully

  • STEP 9

On the left sidebar, click Containers. Identify your ImgCompressĀ container then click on ports 8681:8681. Follow the instructions in the image below.

Inkheart Synology NAS Set up 4

  • STEP 10

🟢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 11

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:8681 Switch the theme to Dark. Select Minimal covers. If you upload more PDF files in the media folder at STEP 4, you should click Re-index to view the new PDFs in the list. Follow the instructions in the image below.

Inkheart Synology NAS Set up 5

  • STEP 12

Your PDF file at a glance. You can write inside the PDF and save it. Follow the instructions in the image below.

Inkheart Synology NAS Set up 6

Enjoy Inkheart!

šŸ†˜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 Inkheart container over HTTPS, check How to Run Docker Containers Over HTTPS. In order to make Inkheart 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 Inkheart container with the latest image.
Note: How to Free Disk Space on Your NAS if You Run Docker & Dockhand.
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 Tuesday / December 1st, 2026 at 10:29 PM

No sponsors, no corporations, no ads, no subscriptions, no membership tiers, no referral links, no pop-ups, no cookies, no tracking code. Just pure guides for the community from Marius.