services: << service_name >>: image: lscr.io/linuxserver/qbittorrent:latest container_name: << service_name >> environment: - PUID=<< puid >> - PGID=<< pgid >> - TZ=<< timezone >> - WEBUI_PORT=<< port_ui >> volumes: - << data_dir >>/<< service_name >>/config:/config - << downloads_dir >>:/downloads ports: - "<< port_ui >>:<< port_ui >>" - "<< port_torrent >>:6881" - "<< port_torrent >>:6881/udp" restart: unless-stopped