Limit Tunarr CPU usage on the shared host
This commit is contained in:
@@ -4,3 +4,4 @@ RETROTV_LAN_IP=192.168.0.203
|
|||||||
RETROTV_NAME=retroLabs
|
RETROTV_NAME=retroLabs
|
||||||
RETROTV_MEDIA_DIR=./data/media
|
RETROTV_MEDIA_DIR=./data/media
|
||||||
TUNARR_LOOPBACK_PORT=14242
|
TUNARR_LOOPBACK_PORT=14242
|
||||||
|
TUNARR_CPUS=2
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ docker compose ps
|
|||||||
docker compose logs -f bridge tunarr
|
docker compose logs -f bridge tunarr
|
||||||
```
|
```
|
||||||
|
|
||||||
Use `http://<LAN-IP>:4242/web/` for the programming UI and `/api/v1/health` for the bridge health check. Tunarr's internal port 8000 is published only on host loopback port 14242. The bridge uses host networking for SSDP on UDP 1900 and binds HTTP to the configured LAN IP. Admin and device access currently share the trusted LAN with no bridge-level authentication. Compose persists Tunarr's configuration and the bridge's UUID in named volumes.
|
Use `http://<LAN-IP>:4242/web/` for the programming UI and `/api/v1/health` for the bridge health check. Tunarr's internal port 8000 is published only on host loopback port 14242. The bridge uses host networking for SSDP on UDP 1900 and binds HTTP to the configured LAN IP. Admin and device access currently share the trusted LAN with no bridge-level authentication. Compose persists Tunarr's configuration and the bridge's UUID in named volumes. Tunarr defaults to two CPU cores of capacity to limit the impact of scans and transcoding on the host. Set `TUNARR_CPUS` in `.env` to change the limit.
|
||||||
|
|
||||||
## Roku
|
## Roku
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
services:
|
services:
|
||||||
tunarr:
|
tunarr:
|
||||||
image: ghcr.io/chrisbenincasa/tunarr:2026.11.2@sha256:50919e89db8c60f7fe9f3561f84ef77fb5710ccaac5db5599e9b9993c519dea9
|
image: ghcr.io/chrisbenincasa/tunarr:2026.11.2@sha256:50919e89db8c60f7fe9f3561f84ef77fb5710ccaac5db5599e9b9993c519dea9
|
||||||
|
cpus: ${TUNARR_CPUS:-2}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
TZ: America/New_York
|
TZ: America/New_York
|
||||||
|
|||||||
Reference in New Issue
Block a user