aboutsummaryrefslogtreecommitdiff
path: root/services/calibre/compose.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'services/calibre/compose.yaml')
-rw-r--r--services/calibre/compose.yaml30
1 files changed, 30 insertions, 0 deletions
diff --git a/services/calibre/compose.yaml b/services/calibre/compose.yaml
new file mode 100644
index 0000000..082e1ae
--- /dev/null
+++ b/services/calibre/compose.yaml
@@ -0,0 +1,30 @@
+networks:
+ proxy:
+ external: true
+
+volumes:
+ data:
+
+services:
+ calibre-web:
+ image: lscr.io/linuxserver/calibre-web:latest
+ container_name: calibre-web
+ environment:
+ - PUID=1000
+ - PGID=1000
+ - TZ=Europe/Berlin
+ - DOCKER_MODS=linuxserver/mods:universal-calibre
+ - OAUTHLIB_RELAX_TOKEN_SCOPE=1
+ volumes:
+ - data:/config
+ - /opt/media/books:/books:Z
+ networks:
+ - proxy
+ labels:
+ traefik.enable: true
+ traefik.http.services.calibre.loadbalancer.server.port: 8083
+ traefik.http.routers.calibre.rule: Host(`calibre.4d6178.work`)
+ traefik.http.routers.calibre.entrypoints: websecure
+ traefik.http.routers.calibre.tls: true
+ traefik.http.routers.calibre.tls.certresolver: le
+ restart: unless-stopped