Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: "2"
- services:
- calibre:
- image: linuxserver/calibre
- container_name: Calibre
- labels:
- - "traefik.enable=true"
- - "traefik.docker.network=proxy"
- - "traefik.http.routers.calibre.entrypoints=http"
- - "traefik.http.routers.calibre.rule=Host(`THAT'sASECRET!`)"
- - "traefik.http.middlewares.calibre-https-redirect.redirectscheme.scheme=https"
- - "traefik.http.routers.calibre.middlewares=calibre-https-redirect"
- - "traefik.http.routers.calibre-secure.entrypoints=https"
- - "traefik.http.routers.calibre-secure.rule=Host(`THAT'sASECRET!`)"
- - "traefik.http.routers.calibre-secure.tls=true"
- - "traefik.http.routers.calibre-secure.tls.certresolver=http"
- - "traefik.http.routers.calibre-secure.service=calibre"
- - "traefik.http.services.calibre.loadbalancer.server.port=8080"
- - "traefik.http.routers.calibre-server.entrypoints=http"
- - "traefik.http.routers.calibre-server.rule=Host(`THAT'sASECRET!`)"
- - "traefik.http.middlewares.calibre-server-https-redirect.redirectscheme.scheme=https"
- - "traefik.http.routers.calibre-server.middlewares=REPLACE-https-redirect"
- - "traefik.http.routers.calibre-server-secure.entrypoints=https"
- - "traefik.http.routers.calibre-server-secure.rule=Host(`THAT'sASECRET!`)"
- - "traefik.http.routers.calibre-server-secure.tls=true"
- - "traefik.http.routers.calibre-server-secure.tls.certresolver=http"
- - "traefik.http.routers.calibre-server-secure.service=calibre-server"
- - "traefik.http.services.calibre-server.loadbalancer.server.port=8081"
- environment:
- - PUID=1000
- - PGID=1000
- - TZ=Asia/Tokyo
- - GUAC_USER=abc #optional
- - GUAC_PASS=900150983cd24fb0d6963f7d28e17f72 #optional
- volumes:
- - /mnt/drivealpha/calibre:/config
- expose:
- - 8080
- - 8081
- restart: unless-stopped
- networks:
- - proxy
- networks:
- proxy:
- external: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement