clustered-fucks/compose-files/replicant/calibre/docker-compose.yml

66 lines
1.4 KiB
YAML

services:
calibre-server:
image: linuxserver/calibre:latest
container_name: calibre-server
restart: unless-stopped
security_opt:
- seccomp:unconfined
ports:
- "28080:8080"
- "28081:8081"
- "28181:8181"
volumes:
- ./config:/config
- /mnt/nas/media/Books:/books
environment:
- PUID=1000
- PGID=1000
- TZ=America/Indiana/Indianapolis
- GUAC_USER=calibre
- GUAC_PASS=calibre
- CALIBRE_SERVERSIDE_BROWSE=1
networks:
- proxy
labels:
- "autoheal=true"
- "com.centurylinklabs.watchtower.enable=true"
deploy:
resources:
limits:
memory: 1G
cpus: "1.0"
calibre-web:
image: linuxserver/calibre-web:latest
container_name: calibre-web
restart: unless-stopped
security_opt:
- seccomp:unconfined
ports:
- "28083:8083"
volumes:
- ./config:/config
- /mnt/nas/media/Books:/books:ro
environment:
- PUID=1000
- PGID=1000
- TZ=America/Indiana/Indianapolis
- DOCKER_MODS=linuxserver/mods:calibre-web-calibre
- CALIBRE_DBPATH=/books
- OAUTHLIB_RELAX_TOKEN_SCOPE=1
networks:
- proxy
labels:
- "autoheal=true"
- "com.centurylinklabs.watchtower.enable=true"
deploy:
resources:
limits:
memory: 512M
cpus: "0.5"
depends_on:
- calibre-server
networks:
proxy:
external: true