stremio
by lbenicio
Helm chart for Stremio server + web client
About this chart
stremio
Complete Stremio media server and web client — deploy both with a single Helm chart.
TL;DR
helm repo add lbenicio-community https://helm.lbenicio.dev/
helm install my-release lbenicio-community/stremio --version 0.1.3
Introduction
This chart deploys both the Stremio server and the Stremio Web client. The server handles streaming and metadata, while the web client provides the browser-based UI. Both are deployed as separate Deployments within a single release, with shared configuration for host aliases, autoscaling, and Prometheus monitoring.
Prerequisites
- Kubernetes 1.19+
- Helm 3.x+
Installing the Chart
helm install stremio lbenicio-community/stremio --version 0.1.3 --namespace default
Parameters
Server
| Key | Type | Default | Description |
|---|---|---|---|
server.image.repository | string | stremio/server | Server image repository |
server.image.tag | string | v4.22.6 | Image tag |
server.replicaCount | int | 1 | Number of server replicas |
server.httpPort | int | 11470 | HTTP API port |
server.streamPort | int | 12470 | Streaming port |
server.env | object | {NO_CORS: "1"} | Environment variables |
server.resources.requests.cpu | string | 250m | CPU request |
server.resources.requests.memory | string | 128Mi | Memory request |
server.resources.limits.cpu | string | 1000m | CPU limit |
server.resources.limits.memory | string | 4096Mi | Memory limit |
server.keel.enabled | bool | true | Keel auto-update |
server.keel.policy | string | force | Keel policy |
Client
| Key | Type | Default | Description |
|---|---|---|---|
client.enabled | bool | true | Enable web client |
client.image.repository | string | lbenicio/stremio-web | Client image |
client.image.tag | string | 5.2.0 | Image tag |
client.port | int | 8080 | HTTP port |
client.resources.requests.cpu | string | 250m | CPU request |
client.resources.requests.memory | string | 256Mi | Memory request |
client.resources.limits.cpu | string | 1000m | CPU limit |
client.resources.limits.memory | string | 512Mi | Memory limit |
Shared
| Key | Type | Default | Description |
|---|---|---|---|
hostAliases | list | [{hostnames:[server.stremio.lan],ip:127.0.0.1}] | /etc/hosts entries |
ingress.enabled | bool | false | Enable ingress for client and server |
ingress.className | string | "" | Ingress class |
ingress.hosts | list | [stremio.local] | Host rules |
podAnnotations | object | {prometheus.io/scrape: "true"} | Pod annotations |
serviceMonitor.enabled | bool | false | Prometheus ServiceMonitor |
autoscaling.enabled | bool | false | HPA for both server + client |
Ingress with TLS
Set service: server on a path to route it to the Stremio server HTTP API. Paths default to the client service.
ingress:
enabled: true
className: traefik
annotations:
cert-manager.io/cluster-issuer: ca-issuer
hosts:
- host: stremio.lan
paths:
- path: /
pathType: Prefix
service: client
- host: server.stremio.lan
paths:
- path: /
pathType: Prefix
service: server
tls:
- secretName: stremio-tls
hosts:
- stremio.lan
- server.stremio.lan
License
This chart is licensed under GPL-3.0. Stremio and Stremio Web are trademarks of their respective owners.
Deploy stremio with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has stremio on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartstremio is pinned at v0.1.3 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply