35 lines
949 B
YAML
35 lines
949 B
YAML
|
version: "2.1"
|
||
|
|
||
|
services:
|
||
|
transmission:
|
||
|
image: lscr.io/linuxserver/transmission:version-3.00-r8
|
||
|
container_name: transmission
|
||
|
environment:
|
||
|
- PUID=1001
|
||
|
- PGID=1001
|
||
|
- TZ=America/New_York
|
||
|
- PEERPORT=40605
|
||
|
volumes:
|
||
|
- ./config:/config
|
||
|
- ./downloads:/downloads
|
||
|
- ./watch:/watch
|
||
|
ports:
|
||
|
#- 9091:9091
|
||
|
- 40605:40605
|
||
|
- 40605:40605/udp
|
||
|
labels:
|
||
|
- "traefik.enable=true"
|
||
|
- "traefik.passHostHeader=true"
|
||
|
- "traefik.http.routers.transmission.entrypoints=websecure"
|
||
|
- "traefik.http.routers.transmission.rule=Host(`transmission.meftimes.com`)"
|
||
|
- "traefik.http.routers.transmission.tls.certresolver=letsencrypt"
|
||
|
- "traefik.http.routers.transmission.middlewares=authelia@docker"
|
||
|
- "traefik.http.services.transmission.loadbalancer.server.port=9091"
|
||
|
networks:
|
||
|
- proxy
|
||
|
restart: unless-stopped
|
||
|
|
||
|
networks:
|
||
|
proxy:
|
||
|
external: true
|