qbittorrent

> updates
This commit is contained in:
Eugene Amos 2023-11-28 01:01:56 -08:00
parent f6fa553b8c
commit 70e9f4a5f2

View File

@ -9,19 +9,19 @@
<br />
</p>
# :clipboard: NOTES: `assign_category.py`
# :clipboard: Notes: `assign_category.py`
A script that will auto assign a category of an incoming torrent.
<details>
<summary>assign_category.py notes</summary>
<summary><strong>assign_category.py</strong> notes</summary>
</details>
# :clipboard: NOTES: `docker-compose-qbittorrent.yml`
# :clipboard: Notes: `docker-compose-qbittorrent.yml`
This docker-compose file is traditionally used to create and start a container from the command line. For Portainer we can just copy and paste this script into the web editor field.
<details>
<summary>docker-compose-qbittorrent.yml notes</summary>
This will create two services or container called **qbittorrent** and **qbittorrent-openvpn**.
<summary><strong>docker-compose-qbittorrent.yml</strong> notes</summary>
</br></br>
This will create two services or containers called **qbittorrent** and **qbittorrent-openvpn**.
### `qbittorrent` container
@ -53,9 +53,11 @@ Key parts to this container are:
- **depends_on:**
- Tells Docker that the container `qbittorrent` can only be run/started if `qbittorrent-openvpn` has a healthy healthcheck status.
---
### `qbittorrent-openvpn` container
The only function of this container is to establish a VPN network connection.</br>
The only function of this container is to establish a **VPN** network connection.</br></br>
Key parts to this container are:
- **image:**
- <a href="https://haugene.github.io/docker-transmission-openvpn" target="blank">haugene/transmission-openvpn</a>: &nbsp; A Docker container used as an OpenVPN network tunnel.
@ -95,7 +97,7 @@ Key parts to this container are:
A script that will be executed when the `qbittorrent` container is starting.
<details>
<summary>extra_packages.sh notes</summary>
<summary><strong>extra_packages.sh</strong> notes</summary>
This script goes in the `/custom_script` volume folder for **qbittorrent** container. It will install three programs.
@ -129,5 +131,5 @@ The last part of the script will install Alpines version of **qbittorrent-api**
apk add py3-qbittorrent-api
```
></br> 📝 **Note:** &nbsp;Everything with `echo` will be printed out to the logs and the terminal. This way if for whatever reason the script is not working you can search the logs to troubleshoot the issue.</br>&nbsp;
></br>**Note:** &nbsp;All `echo` lines will be printed out to the logs and the terminal. This way if for whatever reason the script is not working you can search the logs to troubleshoot the issue.</br>&nbsp;
</details>