version: "2.1" 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 - /mnt/data/downloads:/downloads ports: - 9091:9091 - 51413:51413 - 51413:51413/udp restart: unless-stopped