Skip to content

nfrastack/container-homeassistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nfrastack/container-homeassistant

About

This will build a container image for Home Assistant, an automation platform.

This is a customized build with a very small amount of components and modules included to keep image size down and to be used specifically for my own installations. Of course you can use it for your own as well.

Maintainer

Table of Contents

Installation

Prebuilt Images

Feature limited builds of the image are available on the Github Container Registry and Docker Hub.

To unlock advanced features, one must provide a code to be able to change specific environment variables from defaults. Support the development to gain access to a code.

To get access to the image use your container orchestrator to pull from the following locations:

ghcr.io/nfrastack/container-homeassistant:(image_tag)
docker.io/nfrastack/homeassistant:(image_tag)

Image tag syntax is:

<image>:<optional tag>-<optional_distribution>_<optional_distribution_variant>

Example:

ghcr.io/nfrastack/container-homeassistant:latest or

ghcr.io/nfrastack/container-homeassistant:1.0 or optionally

ghcr.io/nfrastack/container-homeassistant:1.0-alpine or optinally

ghcr.io/nfrastack/container-homeassistant:alpine

  • latest will be the most recent commit
  • An optional tag may exist that matches the CHANGELOG - These are the safest
  • If it is built for multiple distributions there may exist a value of alpine or debian
  • If there are multiple distribution variations it may include a version - see the registry for availability

Have a look at the container registries and see what tags are available.

Multi-Architecture Support

Images are built for amd64 by default, with optional support for arm64 and other architectures.

Quick Start

Persistent Storage

The following directories are used for configuration and can be mapped for persistent storage.

Directory Description
/config/ Configuration folder
/logs Logs

Environment Variables

Base Images used

This image relies on a customized base image in order to work. Be sure to view the following repositories to understand all the customizable options:

Image Description
OS Base Base Image
Nginx Web Server Base Image

Below is the complete list of available options that can be used to customize your installation.

  • Variables showing an 'x' under the Advanced column can only be set if the containers advanced functionality is enabled.

Container Options

Variable Value Default _FILE
CONFIG_PATH Configuration directory /config/
ENABLE_NGINX Enable Nginx Frontend webserver TRUE
ENABLE_BUILD_TOOLS Install development tools if having problems installing modules FALSE
ENABLE_JEMALLOC Enable high performance memory allocator TRUE
HOMEASSISTANT_MODE Home Assistant Mode NORMAL
HOMEASSISTANT_USER Home Assistant User homeassistant
HOMEASSISTANT_GROUP Home Assistant Group homeassistant
LISTEN_PORT Listening Port 8123
LOG_PATH Log Path /logs/
LOG_FILE Log File homeassistant.log
SKIP_PIP Skip using PIP on Home Assistant startup FALSE

Soon

Variable Value Default _FILE
LOG_TYPE console file both none FILE

Users and Groups

Type Name ID
User homeassistant 4663
Group homeassistant 4663

Networking

Port Protocol Description
Port Protocol Description
------ -------- ---------------------------
80 tcp Nginx
8123 tcp Home Assistant Web Interace

Maintenance

Shell Access

For debugging and maintenance, bash and sh are available in the container.

Support & Maintenance

  • For community help, tips, and community discussions, visit the Discussions board.
  • For personalized support or a support agreement, see Nfrastack Support.
  • To report bugs, submit a Bug Report. Usage questions will be closed as not-a-bug.
  • Feature requests are welcome, but not guaranteed. For prioritized development, consider a support agreement.
  • Updates are best-effort, with priority given to active production use and support agreements.

References

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Containerized Home automation platform

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published