# https://thebloody.cloud/posts/Installing-Web-Calibre-in-Docker/ # Uses NFS via systemd automount (/mnt/nas_books) + bind mounts. # Docker NFS named volumes caused SQLITE_IOERR on soft timeouts; systemd # automount with hard NFS blocks briefly on spin-up instead of returning EIO. networks: default: external: name: npm-network services: calibre: image: lscr.io/linuxserver/calibre:latest container_name: calibre security_opt: - seccomp:unconfined environment: - PUID=99 - PGID=100 - TZ=America/New_York - VIRTUAL_HOST=calibre.kolpacksoftware.com - VIRTUAL_PORT=8080 - LETSENCRYPT_HOST=calibre.kolpacksoftware.com volumes: - /mnt/nas_books/calibre:/config - /mnt/nas_books/calibre-import:/calibre-import ports: - 8090:8080 - 8091:8081 restart: unless-stopped