Advertisement
Guest User

Untitled

a guest
Feb 14th, 2020
1,059
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.95 KB | None | 0 0
  1. version: "2"
  2. services:
  3. calibre:
  4. image: linuxserver/calibre
  5. container_name: Calibre
  6. labels:
  7. - "traefik.enable=true"
  8. - "traefik.docker.network=proxy"
  9. - "traefik.http.routers.calibre.entrypoints=http"
  10. - "traefik.http.routers.calibre.rule=Host(`THAT'sASECRET!`)"
  11. - "traefik.http.middlewares.calibre-https-redirect.redirectscheme.scheme=https"
  12. - "traefik.http.routers.calibre.middlewares=calibre-https-redirect"
  13. - "traefik.http.routers.calibre-secure.entrypoints=https"
  14. - "traefik.http.routers.calibre-secure.rule=Host(`THAT'sASECRET!`)"
  15. - "traefik.http.routers.calibre-secure.tls=true"
  16. - "traefik.http.routers.calibre-secure.tls.certresolver=http"
  17. - "traefik.http.routers.calibre-secure.service=calibre"
  18. - "traefik.http.services.calibre.loadbalancer.server.port=8080"
  19. - "traefik.http.routers.calibre-server.entrypoints=http"
  20. - "traefik.http.routers.calibre-server.rule=Host(`THAT'sASECRET!`)"
  21. - "traefik.http.middlewares.calibre-server-https-redirect.redirectscheme.scheme=https"
  22. - "traefik.http.routers.calibre-server.middlewares=REPLACE-https-redirect"
  23. - "traefik.http.routers.calibre-server-secure.entrypoints=https"
  24. - "traefik.http.routers.calibre-server-secure.rule=Host(`THAT'sASECRET!`)"
  25. - "traefik.http.routers.calibre-server-secure.tls=true"
  26. - "traefik.http.routers.calibre-server-secure.tls.certresolver=http"
  27. - "traefik.http.routers.calibre-server-secure.service=calibre-server"
  28. - "traefik.http.services.calibre-server.loadbalancer.server.port=8081"
  29. environment:
  30. - PUID=1000
  31. - PGID=1000
  32. - TZ=Asia/Tokyo
  33. - GUAC_USER=abc #optional
  34. - GUAC_PASS=900150983cd24fb0d6963f7d28e17f72 #optional
  35. volumes:
  36. - /mnt/drivealpha/calibre:/config
  37. expose:
  38. - 8080
  39. - 8081
  40. restart: unless-stopped
  41. networks:
  42. - proxy
  43. networks:
  44. proxy:
  45. external: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement