feat(docker): add Calibre Web service to Docker Compose configuration

- Add Calibre Web container configuration to `docker-compose.yaml`
  - Use `lscr.io/linuxserver/calibre-web:latest` image
  - Configure environment variables (PUID, PGID, TZ, DOCKER_MODS)
  - Set up volumes for persistent storage of Calibre configuration and books
  - Expose port 8084 to access the Calibre Web UI
  - Implement automatic restart policy (`unless-stopped`)

This commit introduces the Calibre Web service to the Docker Compose setup, enabling users to run a Calibre library management and e-book reader web service in a Docker container.

Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
rewrite
Tuan-Dat Tran 2024-11-11 01:04:30 +01:00
parent 4db26b56da
commit 33253e934d
1 changed files with 15 additions and 0 deletions

View File

@ -394,6 +394,21 @@ services:
volumes: volumes:
- "/opt/docker/config/changedetection/data/:/datastore" - "/opt/docker/config/changedetection/data/:/datastore"
calibre:
image: lscr.io/linuxserver/calibre-web:latest
container_name: calibre
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Berlin
- DOCKER_MODS=linuxserver/mods:universal-calibre #optional
volumes:
- "/opt/local/calibre/:/config"
- "/media/docker/data/calibre/:/books"
ports:
- 8084:8083
restart: unless-stopped
networks: networks:
net: net:
driver: bridge driver: bridge