add qbit support

This commit is contained in:
Ammar Hussein 2024-12-07 02:35:33 -08:00
parent b5824c89f1
commit 2814f36676
4 changed files with 19 additions and 1 deletions

View File

@ -147,3 +147,7 @@ COMPOSE_FILE="compose.yml"
# NOTE(3wc): as of 2024-04-01 only the `icecast` recipe uses this
#COMPOSE_FILE="$COMPOSE_FILE:compose.web-alt.yml"
#WEB_ALT_ENABLED=1
## Qbit
#COMPOSE_FILE="$COMPOSE_FILE:compose.qbit.yml"
#QBIT_ENABLED=1

View File

@ -1,3 +1,3 @@
export TRAEFIK_YML_VERSION=v21
export TRAEFIK_YML_VERSION=v22
export FILE_PROVIDER_YML_VERSION=v10
export ENTRYPOINT_VERSION=v4

8
compose.qbit.yml Normal file
View File

@ -0,0 +1,8 @@
version: "3.8"
services:
app:
environment:
- QBIT_ENABLED
ports:
- "6881:6881/udp"
- "6881:6881/tcp"

View File

@ -79,6 +79,12 @@ entrypoints:
matrix-federation:
address: ":9001"
{{ end }}
{{ if eq (env "QBIT_ENABLED") "1" }}
qbit:
address: ":6881"
qbit-udp:
address: ":6881/udp"
{{ end }}
ping:
entryPoint: web