homeserver/torrent/docker-compose.yaml

29 lines
551 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:
- "docker.group=torrent"
mem_limit: 512m
networks:
web:
external: true