33 lines
772 B
YAML
33 lines
772 B
YAML
services:
|
|
|
|
transmission:
|
|
image: lscr.io/linuxserver/transmission:${TRANSMISSION_VERSION}
|
|
environment:
|
|
- TZ=Etc/UTC
|
|
- USER=${USERNAME}
|
|
- PASS=${PASSWORD}
|
|
volumes:
|
|
- ${VOLUMES_PATH}/torrent/transmission:/config
|
|
- ${DOWNLOAD_PATH}:/downloads
|
|
- ${DOWNLOAD_PATH}/watch:/watch
|
|
networks:
|
|
- web
|
|
ports:
|
|
# - 9091:9091
|
|
- 51413:51413
|
|
- 51413:51413/udp
|
|
restart: unless-stopped
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.torrent.rule=Host(`torrent.${DOMAIN}`)"
|
|
- "traefik.http.routers.torrent.entrypoints=web"
|
|
- "traefik.http.services.torrent.loadbalancer.server.port=9091"
|
|
- "docker.group=torrent"
|
|
mem_limit: 512m
|
|
|
|
|
|
networks:
|
|
web:
|
|
external: true
|
|
|
|
|