initial addition

This commit is contained in:
Alexandre
2021-02-05 17:16:34 +01:00
parent f56299198b
commit b8f6407288
8 changed files with 120 additions and 0 deletions

View File

@@ -56,6 +56,9 @@ https://github.com/alexbelgium/hassio-addons
- Open source document management system (DMS)
- Based on linuxserver image : https://hub.docker.com/r/linuxserver/papermerge
### [Qbittorrent)](qbittorrent/)
- Based on linuxserver image : https://hub.docker.com/r/linuxserver/qbittorrent
### [Radarr NAS](radarr/) <sub><i>stale</i></sub>
- A fork of Sonarr to work with movies like Couchpotato
- Forked from : https://hub.docker.com/r/linuxserver/radarr

30
qbittorrent/Dockerfile Normal file
View File

@@ -0,0 +1,30 @@
ARG BUILD_FROM
ARG BUILD_VERSION
FROM ${BUILD_FROM}${BUILD_VERSION}
# Add bashio
RUN apt-get update && apt-get install -y \
curl \
jq \
&& curl -J -L -o /tmp/bashio.tar.gz \
"https://github.com/hassio-addons/bashio/archive/v0.7.1.tar.gz" \
&& mkdir /tmp/bashio \
&& tar zxvf \
/tmp/bashio.tar.gz \
--strip 1 -C /tmp/bashio \
\
&& mv /tmp/bashio/lib /usr/lib/bashio \
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
&& rm -fr /tmp/bashio.tar.gz \
\
# Remove fixed folders
&& sed '11,13d' /defaults/qBittorrent.conf \
# Allow connection to webUI
&& echo 'WebUI\HostHeaderValidation=false' >> /defaults/qBittorrent.conf \
&& echo 'WebUI\LocalHostAuth=false' >> /defaults/qBittorrent.conf
# Copy root filesystem
COPY rootfs /
VOLUME [ "/data" "/config" ]

32
qbittorrent/README.md Normal file
View File

@@ -0,0 +1,32 @@
# Home assistant add-on: Qbittorrent
![Supports aarch64 Architecture][aarch64-shield] ![Supports amd64 Architecture][amd64-shield] ![Supports armhf Architecture][armhf-shield] ![Supports armv7 Architecture][armv7-shield]
## About
Transmission is a bittorrent client.
This addon is based on the [docker image](https://github.com/linuxserver/qbittorrent) from linuxserver.io.
## Installation
The installation of this add-on is pretty straightforward and not different in
comparison to installing any other Hass.io add-on.
1. [Add my Hass.io add-ons repository][repository] to your Hass.io instance.
1. Install this add-on.
1. Click the `Save` button to store your configuration.
1. Start the add-on.
1. Check the logs of the add-on to see if everything went well.
1. Carefully configure the add-on to your preferences, see the official documentation for for that.
## Configuration
The webui is at <your-ip>:8081 and the default username/password is admin/adminadmin.
Options :
- "downloads": "/share/downloads" # where the files will be saved after download
- "temppath": "/share/incomplete" # where the files are saved during download
[repository]: https://github.com/alexbelgium/hassio-addons
[aarch64-shield]: https://img.shields.io/badge/aarch64-yes-green.svg
[amd64-shield]: https://img.shields.io/badge/amd64-yes-green.svg
[armhf-shield]: https://img.shields.io/badge/armhf-yes-green.svg
[armv7-shield]: https://img.shields.io/badge/armv7-yes-green.svg

9
qbittorrent/build.json Normal file
View File

@@ -0,0 +1,9 @@
{
"build_from": {
"armv7": "linuxserver/qbittorrent:arm32v7-version-",
"armhf": "linuxserver/qbittorrent:arm32v7-version-",
"aarch64": "linuxserver/qbittorrent:arm64v8-version-",
"amd64": "linuxserver/qbittorrent:amd64-version-"
}
}

43
qbittorrent/config.json Normal file
View File

@@ -0,0 +1,43 @@
{
"name": "Qbittorrent",
"version": "14.3.3.99202101191832-7248-da0b276d5ubuntu18.04.1",
"slug": "qbittorrent",
"description": "A Qbittorrent container, brought to you by LinuxServer.io",
"url": "https://github.com/alexbelgium/hassio-addons/tree/master/qbittorrent",
"startup": "services",
"arch": [
"aarch64",
"amd64",
"armv7",
"armhf"
],
"ports": {
"8080/tcp": 8081,
"6881/tcp": 6881,
"6881/udp": 6881
},
"ports_description": {
"8080/tcp": "Web UI port",
"6881/tcp": "Peer port",
"6881/udp": "Peer port"
},
"map": [
"config:rw",
"share:rw",
"media:rw"
],
"webui": "http://[HOST]:[PORT:8080]",
"boot": "auto",
"environment": {
"WEBUI_PORT": "8080"
},
"options": {
"PUID": 0,
"PGID": 0
},
"schema": {
"PUID": "int",
"PGID": "int",
"TZ": "str?"
}
}

BIN
qbittorrent/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
qbittorrent/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View File

@@ -0,0 +1,3 @@
#!/usr/bin/with-contenv bashio
bashio::log.info "Default username/password : admin/adminadmin"