docker-compose/transmission/docker-compose.yml
2022-12-24 02:38:43 +01:00

36 lines
828 B
YAML

version: "2.1"
volumes:
download_data:
driver_opts:
type: "nfs"
o: "addr=192.168.1.245,nolock,soft,rw"
device: ":/mnt/data/downloads"
services:
transmission:
image: lscr.io/linuxserver/transmission:latest
container_name: transmission
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Stockholm
- TRANSMISSION_WEB_HOME=/combustion-release/ #optional
- USER=${USERNAME} #optional
- PASS=${PASSWORD} #optional
- WHITELIST= #optional
- PEERPORT= #optional
- HOST_WHITELIST= #optional
volumes:
- ./data:/config
- type: volume
source: download_data
target: /downloads
volume:
nocopy: false
ports:
- 9091:9091
- 51413:51413
- 51413:51413/udp
restart: unless-stopped