Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3'
- services:
- traefik:
- container_name: traefik
- image: traefik:v2.0
- command:
- - "--log.level=DEBUG"
- - "--api.insecure=true"
- - "--providers.docker=true"
- - "--entrypoints.rutorrent.address=:80"
- #- "--entrypoints.deluge.address=:8112"
- ports:
- - "80:80"
- - "8080:8080"
- - "443:443"
- volumes:
- - /var/run/docker.sock:/var/run/docker.sock
- - /apps/traefik/traefik.toml:/traefik.toml
- deluge:
- container_name: deluge
- image: linuxserver/deluge
- environment:
- - PUID=0
- - PGID=0
- - TZ=Europe/Paris
- volumes:
- - /opt/deluge/config:/config
- - /opt/deluge/downloads:/downloads
- labels:
- # - "traefik.enable"
- #- "traefik.docker.network=webgateway"
- #- "traefik.backend=deluge"
- - "traefik.http.routers.deluge.rule=Host(`192.168.1.40`) && Path(`/deluge`)"
- - "traefik.http.services.deluge.loadbalancer.passhostheader=true"
- # - "traefik.http.routers.deluge.entrypoints=deluge"
- - "traefik.backend.port=8112" # Is this useful with 2.0 ??
- rutorrent:
- image: linuxserver/rutorrent
- container_name: rutorrent
- environment:
- - PUID=1000
- - PGID=1000
- volumes:
- - /apps/rutorrent/config:/config
- - /apps/rutorrent/downloads:/downloads
- labels:
- # - "traefik.enable"
- #- "traefik.docker.network=webgateway"
- #- "traefik.backend=deluge"
- - "traefik.http.routers.rutorrent.rule=Host(`192.168.1.40`) && Path(`/rutorrent`)"
- - "traefik.http.routers.rutorrent.entrypoints=rutorrent"
- - "traefik.http.services.rutorrent.loadbalancer.passhostheader=true"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement