You must setup Podman first.
Steps
- create qbittorrent directory in $HOME/podman
mkdir -p ~/podman/qbittorrent && cd ~/podman/qbittorrent - copy from compose.yml
nano compose.yml - start qbittorrent
podman-compose -f ~/podman/qbittorrent/compose.yml systemd -a register systemctl --user enable --now podman-compose@qbittorrent
compose.yml
version: "3"
services:
qbittorrent:
image: docker.io/linuxserver/qbittorrent:latest
container_name: qbittorrent
environment:
- TZ=Asia/Yangon
- WEBUI_PORT=8080
networks:
- traefik
ports:
- "6881:6881"
- "6881:6881/udp"
volumes:
- ./config:/config
- ./downloads:/downloads
restart: unless-stopped
labels:
- "io.containers.autoupdate=registry"
networks:
traefik:
external: true