Created
March 5, 2025 20:55
-
-
Save gmorell/d8b8cd36ff10773bc5f8d7c24c26a70a to your computer and use it in GitHub Desktop.
gabe-podman-homeassistant-stax
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir your /mnt/whatevers | |
put .container's in /etc/containers/systemd/ | |
systemctl daemon-reload | |
systemctl enable --now mosquitto | |
systemctl enable --now esphome | |
systemctl enable --now matter | |
systemctl enable --now hass | |
systemctl enable --now zigbee2mqtt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=ESPHome | |
[Container] | |
Image=ghcr.io/esphome/esphome | |
# Use volume and network defined below | |
Volume=/mnt/esphome:/config | |
Network=host | |
[Service] | |
Restart=always | |
TimeoutStartSec=900 | |
[Install] | |
# Start by default on boot | |
WantedBy=multi-user.target default.target |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=HomeAssistant | |
[Container] | |
Image=docker.io/homeassistant/home-assistant:stable | |
# Use volume and network defined below | |
Volume=/mnt/hass:/config | |
Volume=/etc/localtime:/etc/localtime | |
PublishPort=8123:8123 | |
AutoUpdate=registry | |
AddCapability=CAP_NET_RAW | |
AddCapability=CAP_NET_BIND_SERVICE | |
Volume=/run/dbus:/run/dbus:ro | |
Environment=TZ=America/New_York | |
[Service] | |
Restart=always | |
TimeoutStartSec=900 | |
[Install] | |
# Start by default on boot | |
WantedBy=multi-user.target default.target |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Matter | |
[Container] | |
Image=ghcr.io/home-assistant-libs/python-matter-server:stable | |
# Use volume and network defined below | |
Volume=/mnt/matter:/data | |
Network=host | |
[Service] | |
Restart=always | |
TimeoutStartSec=900 | |
[Install] | |
# Start by default on boot | |
WantedBy=multi-user.target default.target |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
listener 1883 | |
allow_anonymous true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Mosquitto | |
[Container] | |
Image=docker.io/library/eclipse-mosquitto | |
Volume=/mnt/mosquitto:/mosquitto/ | |
Network=host | |
[Service] | |
Restart=always | |
TimeoutStartSec=900 | |
[Install] | |
# Start by default on boot | |
WantedBy=multi-user.target default.target |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Zigbee2Mqtt | |
[Container] | |
Image=docker.io/koenkk/zigbee2mqtt | |
# Use volume and network defined below | |
Volume=/mnt/zigbee2mqtt:/app/data | |
Volume=/run/udev:/run/udev:ro | |
GroupAdd=keep-groups | |
AddDevice=/dev/ttyUSB0:/dev/ttyACM0 | |
Environment=ZIGBEE2MQTT_CONFIG_MQTT_SERVER=mqtt://localhost:1883 | |
Environment=ZIGBEE2MQTT_FRONTEND_PORT=8089 | |
#PublishPort=8089:8089 | |
#ExposeHostPort=1883 | |
Network=host | |
[Service] | |
Restart=always | |
TimeoutStartSec=900 | |
[Install] | |
# Start by default on boot | |
WantedBy=multi-user.target default.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment