Nomploy Nomad Packs

← All packs

home-assistant v0.1.0

Automation

Home Assistant — the leading open-source home-automation platform: control lights, sensors, media, and thousands of integrations from one dashboard, with local control and privacy. Deployed host-networked (needed for device discovery/mDNS) with a config volume.

nomad-pack run home-assistant --registry nomploy
1 task http 8123 1 volume image ghcr.io/home-assistant/home-assistant:stable
Variables 8
values.hcl

Save as values.hcl, edit, then run:

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

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

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

# The Home Assistant container image. Pin a tag in production.
image = "ghcr.io/home-assistant/home-assistant:stable"

# Host port for the Home Assistant web UI. Home Assistant listens on 8123 by default; to change it, set http.server_port in configuration.yaml after first boot and update this to match.
port = 8123

# Named volume for Home Assistant config, database, and integrations (/config).
data_volume = "home_assistant_config"

# 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    = 1000
    memory = 1024
  }
NameTypeDefaultDescription
job_name string
"home-assistant"
The name of the Nomad job.
namespace string
"default"
The Nomad namespace to deploy into.
datacenters list
["*"]
The datacenters to deploy to.
image string
"ghcr.io/home-assistant/home-assistant:stable"
The Home Assistant container image. Pin a tag in production.
port number
8123
Host port for the Home Assistant web UI. Home Assistant listens on 8123 by default; to change it, set http.server_port in configuration.yaml after first boot and update this to match.
data_volume string
"home_assistant_config"
Named volume for Home Assistant config, database, and integrations (/config).
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    = 1000
    memory = 1024
  }
The task resources.
Readme

home-assistant

Home Assistant — the leading open-source home-automation platform. Control lights, sensors, media, and thousands of integrations from one dashboard, with local control and privacy.

Deployed host-networked (required for device discovery / mDNS) with a /config volume.

Deploy

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

Configure

Variable Default Description
port 8123 Web UI port. See note.
data_volume home_assistant_config /config — config, database, integrations.
image ghcr.io/home-assistant/home-assistant:stable Image. Pin a tag in production.
resources { cpu = 1000, memory = 1024 } Task resources.

Complete the onboarding wizard on first visit. Pairs with the mosquitto (MQTT), node-red, and esphome packs.

Notes