diff --git a/.env.sample b/.env.sample index 558e4d2..217e102 100644 --- a/.env.sample +++ b/.env.sample @@ -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 diff --git a/abra.sh b/abra.sh index 70c5cfc..07f3312 100644 --- a/abra.sh +++ b/abra.sh @@ -1,3 +1,3 @@ -export TRAEFIK_YML_VERSION=v21 +export TRAEFIK_YML_VERSION=v22 export FILE_PROVIDER_YML_VERSION=v10 export ENTRYPOINT_VERSION=v4 diff --git a/compose.qbit.yml b/compose.qbit.yml new file mode 100644 index 0000000..2bc3aa9 --- /dev/null +++ b/compose.qbit.yml @@ -0,0 +1,8 @@ +version: "3.8" +services: + app: + environment: + - QBIT_ENABLED + ports: + - "6881:6881/udp" + - "6881:6881/tcp" diff --git a/traefik.yml.tmpl b/traefik.yml.tmpl index f2af6ad..c731516 100644 --- a/traefik.yml.tmpl +++ b/traefik.yml.tmpl @@ -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