Advertisement
Guest User

Untitled

a guest
Sep 21st, 2019
963
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. version: '3'
  2. services:
  3. traefik:
  4. container_name: traefik
  5. image: traefik:v2.0
  6. command:
  7. - "--log.level=DEBUG"
  8. - "--api.insecure=true"
  9. - "--providers.docker=true"
  10. - "--entrypoints.rutorrent.address=:80"
  11. #- "--entrypoints.deluge.address=:8112"
  12. ports:
  13. - "80:80"
  14. - "8080:8080"
  15. - "443:443"
  16. volumes:
  17. - /var/run/docker.sock:/var/run/docker.sock
  18. - /apps/traefik/traefik.toml:/traefik.toml
  19.  
  20. deluge:
  21. container_name: deluge
  22. image: linuxserver/deluge
  23. environment:
  24. - PUID=0
  25. - PGID=0
  26. - TZ=Europe/Paris
  27. volumes:
  28. - /opt/deluge/config:/config
  29. - /opt/deluge/downloads:/downloads
  30. labels:
  31. # - "traefik.enable"
  32. #- "traefik.docker.network=webgateway"
  33. #- "traefik.backend=deluge"
  34. - "traefik.http.routers.deluge.rule=Host(`192.168.1.40`) && Path(`/deluge`)"
  35. - "traefik.http.services.deluge.loadbalancer.passhostheader=true"
  36. # - "traefik.http.routers.deluge.entrypoints=deluge"
  37. - "traefik.backend.port=8112" # Is this useful with 2.0 ??
  38.  
  39. rutorrent:
  40. image: linuxserver/rutorrent
  41. container_name: rutorrent
  42. environment:
  43. - PUID=1000
  44. - PGID=1000
  45. volumes:
  46. - /apps/rutorrent/config:/config
  47. - /apps/rutorrent/downloads:/downloads
  48. labels:
  49. # - "traefik.enable"
  50. #- "traefik.docker.network=webgateway"
  51. #- "traefik.backend=deluge"
  52. - "traefik.http.routers.rutorrent.rule=Host(`192.168.1.40`) && Path(`/rutorrent`)"
  53. - "traefik.http.routers.rutorrent.entrypoints=rutorrent"
  54. - "traefik.http.services.rutorrent.loadbalancer.passhostheader=true"
Advertisement
RAW Paste Data Copied
Advertisement