docker/docker-compose/calibre/docker-compose.yml

54 lines
1.3 KiB
YAML

services:
calibre:
image: ghcr.io/linuxserver/calibre
container_name: calibre
environment:
- PUID=1000 #change this to your user's PID
- PGID=1000 #change this to your user's PGID
volumes:
- /opt/calibre/config:/config
- /data/downloads/complete/books:/uploads
- /opt/calibre/plugins:/plugins
- /opt/calibre/calibre_library:/Calibre_Library #this is where your ebooks will end up
ports:
- 8084:8080
- 8080:8081
restart: unless-stopped
networks:
- ebooks
calibre-web:
image: ghcr.io/linuxserver/calibre-web
container_name: calibre-web
environment:
- PUID=1000
- PGID=1000
volumes:
- /opt/calibre/calibre-web:/config
- /opt/calibre/calibre_library:/Calibre_Library
restart: unless-stopped
depends_on:
- calibre
ports:
- 8083:8083
networks:
- ebooks
# readarr:
# image: ghcr.io/linuxserver/readarr:nightly
# container_name: readarr
# environment:
# - PUID=1000 #change to your PID
# - PGID=1000 #change to your PGID
# volumes:
# - /opt/readarr:/config
# - /opt/plex:/books #optional
# ports:
# - 8787:8787
# restart: unless-stopped
# networks:
# - ebooks
networks:
ebooks:
external: true