aboutsummaryrefslogtreecommitdiff
path: root/services/calibre/compose.yaml
blob: 082e1ae29ca5f68825fbb610826aededa0aa5e91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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