Skip to content
milkdawg edited this page Oct 22, 2022 · 28 revisions

There is a docker image available for Upload-Assistant that is automatically built within a few minutes of each commit.

Usage?

docker run --rm -it --network=host \
-v /full/path/to/config.py:/Upload-Assistant/data/config.py \
-v /full/path/to/downloads:/downloads \
ghcr.io/l4gsp1ke/upload-assistant:master /downloads/somefile(s) -other -normal -params

The paths in your config file need to refer to paths inside the docker image, same with path provided for file. May need to utilize remote path mapping for your client.

What if I want to utilize re-using torrents and I use qbit?

Add another -v line to your command to expose your BT_Backup folder, and set the path in your config to /BT_Backup ex.

docker run --rm -it --network=host \
-v /full/path/to/config.py:/Upload-Assistant/data/config.py \
-v /full/path/to/downloads:/downloads \
-v /full/path/to/BT_backup:/BT_backup \
ghcr.io/l4gsp1ke/upload-assistant:master /downloads/somefile(s) -other -normal -params

What is docker?

Google is your friend

How do I update the docker image?

docker pull ghcr.io/l4gsp1ke/upload-assistant:master

How do I grab an image of a specific commit?

Dig through here. https://github.com/L4GSP1KE/Upload-Assistant/pkgs/container/upload-assistant/versions?filters%5Bversion_type%5D=untagged I can modify it to tag every image with commit-id if requested, just haven't bothered with it.

Can I use this with Docker on Windows?

Yes but this is a linux container so make sure you are running in that mode. Forewarning Docker on Windows is funky and certain features aren't implemented like mounting singular files as a volume, using paths that contain spaces in a volume, and lots more so you are on your own. You will not receive help trying to get it to work.

The command for running is really long and I dont want to type it.

Make an alias or a function or something.

Clone this wiki locally