From 33253e934db50128f8e4f9f3dd1025b78c3384f0 Mon Sep 17 00:00:00 2001 From: Tuan-Dat Tran Date: Mon, 11 Nov 2024 01:04:30 +0100 Subject: [PATCH] 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 --- roles/docker_host/files/compose.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/roles/docker_host/files/compose.yaml b/roles/docker_host/files/compose.yaml index 4ca3064..1119ff4 100644 --- a/roles/docker_host/files/compose.yaml +++ b/roles/docker_host/files/compose.yaml @@ -394,6 +394,21 @@ services: volumes: - "/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: net: driver: bridge