I have a NAS which I use for storage and I have a Pi which I use for serving applications.

I thought I could just throw Calibre Web on the Pi, point it to my NAS and then be good to go. Charlie_Murphy_Wrong.gif

So Calibre Web said it needed a Calibre database, cool. I installed Calibre proper and created the database. But its not aware of my chosen book location.

I feel like I’m going all about the houses and introducing a level of complexity beyond what is required? Before I knuckle down and persist with this, I thought I’d ask and make sure I’m going in the right direction for what I’m trying to achieve?

  • friend_of_satan@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    One technique I use to simplify hosting apps that have particular filesystem requirements is to mount the data paths into a docker-compose where the app is running. That source path may be an NFS share from another computer. This essentially lets you have filesystem access inside the container exactly where you need it, while the block device and filesystem that the data is stored on could be anywhere else. For me, I put my important data on a NAS with one zfs dataset per type of media, and export that dataset over nfs. This gives me durable, fault tolerant storage of the data, while being able to host the app on something running off an sd card or whatever. I do this with Plex, photoprism, etc…