homeserver/torrent/docker-compose.yaml

32 lines
751 B
YAML
Raw Permalink Normal View History

2021-03-03 10:58:20 +00:00
services:
2023-02-20 10:51:36 +00:00
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:
2022-05-27 13:41:52 +00:00
- "traefik.enable=true"
- "traefik.http.routers.torrent.rule=Host(`torrent.${DOMAIN}`)"
- "traefik.http.routers.torrent.entrypoints=web"
2023-02-20 10:51:36 +00:00
- "traefik.http.services.torrent.loadbalancer.server.port=9091"
2022-05-27 13:41:52 +00:00
- "docker.group=torrent"
2021-03-03 10:58:20 +00:00
networks:
web:
external: true
2022-05-27 13:41:52 +00:00