wyoming-piper
by bdclark
Wyoming protocol server for Piper text to speech
About this chart
Wyoming-Piper Helm Chart
Wyoming protocol server for Piper text to speech
[!NOTE] This chart is under active development. Breaking changes may occur between minor versions.
Installing
helm repo add bdclark https://bdclark.github.io/helm-charts
helm repo update
helm install wyoming-piper bdclark/wyoming-piper -f values.yaml
Environment Variables
Environment variables can be set via env (inline values or refs) and envFrom (bulk refs).
env:
TZ: America/New_York
LOG_LEVEL: info
envFrom:
- secretRef:
name: wyoming-piper-secrets
Voice Configuration
By default, the chart auto-generates runtime args for the official image:
piper:
voice: en_US-lessac-medium
voiceMode: arg
You can switch how voice is injected:
voiceMode: arggenerates--voice <value>voiceMode: envinjectsPIPER_VOICE=<value>
If you set args, those args are used exactly and auto-generated Piper args are skipped.
LinuxServer Image Example
To use LinuxServer's Piper image, override the image, switch to env voice mode, and set LinuxServer env vars.
image:
repository: lscr.io/linuxserver/piper
tag: latest
piper:
voice: en_US-lessac-medium
voiceMode: env
env:
PUID: "1000"
PGID: "1000"
TZ: America/New_York
persistence:
mountPath: /config
Command/Args Overrides
Use container-level command/args for full control:
command:
- /usr/bin/python3
- -m
- wyoming_piper
args:
- --voice
- en_US-lessac-medium
- --debug
When args is set, piper.voiceMode and piper.additionalArgs are not auto-applied.
Persistence
Persistence is enabled by default and mounted at /data.
persistence:
enabled: true
size: 5Gi
# storageClass: ""
# existingClaim: wyoming-piper-data
Additional Volumes
volumes:
- name: voices
persistentVolumeClaim:
claimName: piper-voices
volumeMounts:
- name: voices
mountPath: /voices
Configuration
| Key | Type | Default | Description |
|---|---|---|---|
| nameOverride | string | "" | Override the release name. |
| fullnameOverride | string | "" | Override the full release name. |
| replicaCount | int | 1 | Number of replicas. |
| strategy | object | {"type":"Recreate"} | Deployment update strategy. |
| imagePullSecrets | list | [] | Image pull secrets. |
| deploymentAnnotations | object | {} | Annotations for the Deployment. |
| extraDeploymentLabels | object | {} | Additional labels for the Deployment. |
| podAnnotations | object | {} | Annotations for pods. |
| podLabels | object | {} | Additional labels for pods. |
| commonLabels | object | {} | Labels to add to all resources. |
| podSecurityContext | object | {} | Pod security context. |
| image.repository | string | "rhasspy/wyoming-piper" | Image repository. |
| image.tag | string | "" | Image tag (defaults to chart appVersion). |
| image.pullPolicy | string | "IfNotPresent" | Image pull policy. |
| securityContext | object | {} | Container security context. |
| resources | object | {} | Resource requests and limits. |
| ports | list | [{"containerPort":10200,"name":"wyoming","protocol":"TCP"}] | Container ports. |
| piper.voice | string | "en_US-lessac-medium" | Voice identifier used by the runtime. |
| piper.voiceMode | string | "arg" | How to provide the voice to the container (arg for --voice, env for PIPER_VOICE). |
| piper.additionalArgs | list | [] | Additional runtime args appended when args is empty. |
| command | list | [] | Optional container command override. |
| args | list | [] | Optional container args override. When set, this takes precedence over auto-generated Piper args. |
| startupProbe | object | {} | Startup probe configuration. |
| livenessProbe | object | {} | Liveness probe configuration. |
| readinessProbe | object | {} | Readiness probe configuration. |
| env | object | {} (see values.yaml comments for examples) | Environment variables. |
| envFrom | list | [] | Environment variables from ConfigMaps or Secrets. |
| persistence.enabled | bool | true | Enable persistence. |
| persistence.mountPath | string | "/data" | Mount path. |
| persistence.storageClass | string | "" | Storage class ("-" for default, "" for cluster default). |
| persistence.accessModes | list | ["ReadWriteOnce"] | Access modes. |
| persistence.size | string | "5Gi" | Volume size. |
| persistence.existingClaim | string | "" | Use existing PVC (disables provisioning). |
| persistence.extraLabels | object | {} | Additional labels for PVCs created by this chart. |
| persistence.annotations | object | {} | PVC annotations. |
| volumeMounts | list | [] | Additional volume mounts. |
| service.type | string | "ClusterIP" | Service type. |
| service.port | int | 10200 | Service port. |
| initContainers | list | [] | Additional init containers. |
| extraContainers | list | [] | Additional containers. |
| volumes | list | [] | Additional volumes. |
| nodeSelector | object | {} | Node selector. |
| tolerations | list | [] | Tolerations. |
| affinity | object | {} | Affinity rules. |
License
MIT - see LICENSE.
Deploy wyoming-piper with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has wyoming-piper 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 chartwyoming-piper is pinned at v0.2.0 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