setting up default download location

If you run qBittorrent in / with Docker.
Post Reply
kkpp
Newbie
Newbie
Posts: 1
Joined: Wed Mar 20, 2024 8:21 pm

setting up default download location

Post by kkpp »

I'm running qBittorrent through docker. It is the first time I'm using it.
here is the code

---
services:
qbittorrent:
image: lscr.io/linuxserver/qbittorrent:latest
container_name: qbittorrent
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- WEBUI_PORT=8080
- TORRENTING_PORT=6881
volumes:
- /path/to/appdata/config:/config
- /path/to/downloads:/downloads
ports:
- 8080:8080
- 6881:6881
- 6881:6881/udp
restart: unless-stopped


I want to set default download location to /home/test2/Downloads.
can some one help me with what changes I have to do in the code to make it happen?
gderf
Member
Member
Posts: 24
Joined: Mon Apr 26, 2021 3:26 pm

Re: setting up default download location

Post by gderf »

volumes:
- /path/to/appdata/config:/config
- /path/to/downloads:/downloads
Please use a code box when pasting a yaml file as it properly preserves the formatting.

You need to change the second quoted line to this:

- /home/test2/Downloads:/downloads

Your first quoted line is also incorrect and must be fixed to agree with your use case. This as a non-usable example only path: /path/to/appdata/config
Post Reply