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