wyoming-piper

by bdclark

Helm chartv0.2.0App 2.5.4MITVerified publisher

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: arg generates --voice <value>
  • voiceMode: env injects PIPER_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

KeyTypeDefaultDescription
nameOverridestring""Override the release name.
fullnameOverridestring""Override the full release name.
replicaCountint1Number of replicas.
strategyobject{"type":"Recreate"}Deployment update strategy.
imagePullSecretslist[]Image pull secrets.
deploymentAnnotationsobject{}Annotations for the Deployment.
extraDeploymentLabelsobject{}Additional labels for the Deployment.
podAnnotationsobject{}Annotations for pods.
podLabelsobject{}Additional labels for pods.
commonLabelsobject{}Labels to add to all resources.
podSecurityContextobject{}Pod security context.
image.repositorystring"rhasspy/wyoming-piper"Image repository.
image.tagstring""Image tag (defaults to chart appVersion).
image.pullPolicystring"IfNotPresent"Image pull policy.
securityContextobject{}Container security context.
resourcesobject{}Resource requests and limits.
portslist[{"containerPort":10200,"name":"wyoming","protocol":"TCP"}]Container ports.
piper.voicestring"en_US-lessac-medium"Voice identifier used by the runtime.
piper.voiceModestring"arg"How to provide the voice to the container (arg for --voice, env for PIPER_VOICE).
piper.additionalArgslist[]Additional runtime args appended when args is empty.
commandlist[]Optional container command override.
argslist[]Optional container args override. When set, this takes precedence over auto-generated Piper args.
startupProbeobject{}Startup probe configuration.
livenessProbeobject{}Liveness probe configuration.
readinessProbeobject{}Readiness probe configuration.
envobject{} (see values.yaml comments for examples)Environment variables.
envFromlist[]Environment variables from ConfigMaps or Secrets.
persistence.enabledbooltrueEnable persistence.
persistence.mountPathstring"/data"Mount path.
persistence.storageClassstring""Storage class ("-" for default, "" for cluster default).
persistence.accessModeslist["ReadWriteOnce"]Access modes.
persistence.sizestring"5Gi"Volume size.
persistence.existingClaimstring""Use existing PVC (disables provisioning).
persistence.extraLabelsobject{}Additional labels for PVCs created by this chart.
persistence.annotationsobject{}PVC annotations.
volumeMountslist[]Additional volume mounts.
service.typestring"ClusterIP"Service type.
service.portint10200Service port.
initContainerslist[]Additional init containers.
extraContainerslist[]Additional containers.
volumeslist[]Additional volumes.
nodeSelectorobject{}Node selector.
tolerationslist[]Tolerations.
affinityobject{}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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartwyoming-piper is pinned at v0.2.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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