eb5f9117c8
/mnt/media already existed; no need for a separate /mnt/nas_media. Same CIFS share (//192.168.1.192/media), shorter bind mount paths.
30 lines
802 B
YAML
30 lines
802 B
YAML
# https://thebloody.cloud/posts/Installing-Web-Calibre-in-Docker/
|
|
# NFS volumes replaced with systemd automount bind mounts (/mnt/media)
|
|
# to avoid SQLite SQLITE_IOERR on soft NFS when unRAID drives spin down.
|
|
|
|
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/media/books/calibre:/config
|
|
- /mnt/media/books/calibre-import:/calibre-import
|
|
ports:
|
|
- 8090:8080
|
|
- 8091:8081
|
|
restart: unless-stopped
|