homeserver/torrent/docker-compose.yaml

32 lines
751 B
YAML
Raw Normal View History

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