From c9a826082a3ed5995ee2bad64c44e0aee01f377d Mon Sep 17 00:00:00 2001 From: Adrian Amaglio Date: Tue, 24 Jan 2023 23:55:56 +0100 Subject: [PATCH] ratiomaster --- ratiomaster.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 ratiomaster.sh diff --git a/ratiomaster.sh b/ratiomaster.sh new file mode 100755 index 0000000..1a4e6e3 --- /dev/null +++ b/ratiomaster.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +prefix=lol +token=toto +ui_port=9000 + +docker run --rm -it \ + -p "$ui_port:$ui_port" \ + -e _JAVA_OPTIONS='-Djava.net.preferIPv6Addresses=true' \ + -v "$HOME/Downloads/qbittorrent/ratiomaster:/joal/torrents/" \ + --name="ratiomaster" s8n02/joal \ + --joal-conf="/joal" \ + --spring.main.web-environment=true \ + --server.port="$ui_port" \ + --joal.ui.path.prefix="$prefix" \ + --joal.ui.secret-token="$token" + +echo "Go to http://localhost:$ui_port/$prefix/ui" +echo "And set settings to connect. prefix=$prefix token=$token"