Nomploy Nomad Packs

← All packs

mumble v0.1.0

Messaging

Mumble — a low-latency, high-quality voice chat server (Murmur) for gaming and teams, with channels, ACLs, and end-to-end-friendly encryption. Deployed as a single host-networked Nomad service with a data volume.

nomad-pack run mumble --registry nomploy
…or one line (add registry + run)
curl -fsSL https://packs.nomploy.com/install.sh | sh -s -- mumble

Needs nomad-pack on PATH. The script only adds the nomploy registry and runs this pack.

2 tasks mumble 64738 1 volume image mumblevoip/mumble-server:latest tracks :latest image bumped today
Variables 10
values.hcl

Save as values.hcl, edit, then run:

nomad-pack run mumble -f values.hcl --registry nomploy
# The name of the Nomad job.
job_name = "mumble"

# The Nomad namespace to deploy into.
namespace = "default"

# The datacenters to deploy to.
datacenters = ["*"]

# The Mumble server container image. Pin a tag in production.
image = "mumblevoip/mumble-server:latest"

# Host port for the Mumble server (TCP and UDP).
port = 64738

# Password for the SuperUser admin account (MUMBLE_SUPERUSER_PASSWORD). CHANGE THIS.
superuser_password = "changeme-please"

# UID the server runs as. The data volume is chown'd to this at startup.
uid = 1000

# Named volume for the server database and config (/data).
data_volume = "mumble_data"

# Placement constraints. Pin to the node holding the volume. On a nomploy cluster: attribute = "$${meta.nomploy_control_plane}", operator = "=", value = "true".
constraints = []

# The task resources.
resources = {
    cpu    = 300
    memory = 128
  }
NameTypeDefaultDescription
job_name string
"mumble"
The name of the Nomad job.
namespace string
"default"
The Nomad namespace to deploy into.
datacenters list
["*"]
The datacenters to deploy to.
image string
"mumblevoip/mumble-server:latest"
The Mumble server container image. Pin a tag in production.
port number
64738
Host port for the Mumble server (TCP and UDP).
superuser_password set me string
"changeme-please"
Password for the SuperUser admin account (MUMBLE_SUPERUSER_PASSWORD). CHANGE THIS.
uid number
1000
UID the server runs as. The data volume is chown'd to this at startup.
data_volume string
"mumble_data"
Named volume for the server database and config (/data).
constraints list
[]
Placement constraints. Pin to the node holding the volume. On a nomploy cluster: attribute = "$${meta.nomploy_control_plane}", operator = "=", value = "true".
resources object
{
    cpu    = 300
    memory = 128
  }
The task resources.
Back up this pack

This pack stores data in one Docker named volume: mumble_data

restic

# Run on the node hosting this pack. Point restic at your repo first:
#   export RESTIC_REPOSITORY="s3:https://<account>.r2.cloudflarestorage.com/<bucket>"
#   export RESTIC_PASSWORD="<repo-password>"
#   export AWS_ACCESS_KEY_ID=<key>  AWS_SECRET_ACCESS_KEY=<secret>
restic backup \
  /var/lib/docker/volumes/mumble_data/_data

rclone (sync to S3/R2)

rclone sync /var/lib/docker/volumes/mumble_data/_data backup:<bucket>/mumble_data

Paths assume the default Docker volume location (/var/lib/docker/volumes). Restore by stopping the job, restoring files into the same volume, and re-running the pack.

Readme

mumble

Mumble — a low-latency, high-quality voice chat server (Murmur) for gaming and teams, with channels, ACLs, and strong encryption.

Single host-networked Nomad service with a data volume. A busybox prestart task chowns the data volume to the server's UID.

Deploy

nomad-pack registry add nomploy https://github.com/Nomploy/nomad-packs
nomad-pack run mumble --registry=nomploy

Configure

Variable Default Description
port 64738 Server port (TCP + UDP).
superuser_password changeme-please SuperUser admin password. Change it.
uid 1000 User the server runs as; data volume is chown'd to it.
data_volume mumble_data /data — server database + config.
image mumblevoip/mumble-server:latest Image. Pin a tag in production.
resources { cpu = 300, memory = 128 } Task resources.

Connect any Mumble client to <node-ip>:64738. Log in as SuperUser to administer. For internet use, forward TCP+UDP 64738. Pin the job to the node holding the volume with constraints.