42 lines
938 B
YAML
42 lines
938 B
YAML
# https://thebloody.cloud/posts/Installing-Web-Calibre-in-Docker/
|
|
|
|
networks:
|
|
default:
|
|
external:
|
|
name: npm-network
|
|
|
|
volumes:
|
|
config:
|
|
driver: local
|
|
driver_opts:
|
|
type: nfs
|
|
o: "addr=192.168.1.192,rw,nolock,soft"
|
|
device: ":/mnt/user/media/books/calibre"
|
|
import:
|
|
driver: local
|
|
driver_opts:
|
|
type: nfs
|
|
o: "addr=192.168.1.192,rw,nolock,soft"
|
|
device: ":/mnt/user/media/books/calibre-import"
|
|
|
|
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:
|
|
- config:/config
|
|
- import:/calibre-import
|
|
ports:
|
|
- 8090:8080
|
|
- 8091:8081
|
|
restart: unless-stopped
|