Should I "script" them in the Project-tab in Container Manager instead?
That would be best, yes.
YAML:
---
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/qbittorrent/appdata:/config
- /path/to/downloads:/downloads #optional
ports:
- 8080:8080
- 6881:6881
- 6881:6881/udp
restart: unless-stopped
This would be a compose file for qbit.
What needs to change here are the volume paths (left side, NOT right side!) to configure the container to present those internal folders to your NAS. Also, create those destination on your NAS ahead of time!
PUID and
PGID need to be configured to your DSM account ID value as well as the group value.
To get that info, log into your NAS via SSH. First activate SSH port (22) in the Control Panel>Terminal.
Then log into the nas using
ssh username@NASIPADDRESS command via your SSH application (PUTTY on Win, Terminal on macOS or Linux).
Once logged in your will enter
id and hit return. This will list PUID and PGIDs for your account.
PUID (user ID) will be 1026 or higher number and PGID (Group ID) will be 100 for the users group or 101 for the admin.
So one final example of the compose file that you will run inside the Container Manager/Project section is:
YAML:
---
services:
qbittorrent:
image: lscr.io/linuxserver/qbittorrent:latest
container_name: qbittorrent
environment:
- PUID=1026
- PGID=100
- TZ=Europe/Paris
- WEBUI_PORT=8080
- TORRENTING_PORT=6881
volumes:
- /volume1/docker/qbit:/config
- /volume1/docker/downloads:/downloads #optional
ports:
- 8080:8080
- 6881:6881
- 6881:6881/udp
restart: unless-stopped
Keep in mind this is one example and you will need to alter the
left paths to match your desired locations. Also Linux is caps sensitive, so be mindful of that.
If you manage to get the contianer to start, check its logs to see any major issue (under the contianer details in Container Manager), and than try and access the app via
http://nasipaddress:8080