added all the dotfiles

This commit is contained in:
liph
2025-12-19 22:53:46 +00:00
parent e29ca99666
commit 303cd3b5a9
61 changed files with 3148 additions and 0 deletions

View File

@@ -0,0 +1,54 @@
version: '3'
services:
homeassistant:
image: ghcr.io/home-assistant/home-assistant:stable
container_name: homeassistant
restart: unless-stopped
volumes:
- /mnt/flash1/podman/homeassistant/home_assistant/config/:/config
- /etc/localtime:/etc/localtime:ro
environment:
- TZ=${TZ} # Change to your timezone
network_mode: host
# devices:
# - /dev/ttyACM0:/dev/ttyACM0 # Only if using USB devices (e.g., Z-Wave sticks)
# - /dev/ttyUSB0:/dev/ttyUSB0:Z
privileged: true # Required for some hardware access
zigbee2mqtt:
image: docker.io/koenkk/zigbee2mqtt:latest
server: mqtt://liph:1ChagemqtTd@mosquitto:1883 # "mosquitto" = container name
container_name: zigbee2mqtt
restart: unless-stopped
volumes:
- /mnt/flash1/podman/homeassistant/zigbee2mqtt/data/:/app/data
- /dev/ttyUSB0:/dev/ttyUSB0:z
# devices:
# - /dev/serial/by-id/usb-Itead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_V2_7a09c139e72bef11884a5a88dfbc56eb-if00-port0:/dev/ttyACM0
environment:
- TZ=${TZ}
network_mode: host # Required for discovery
mosquitto:
image: docker.io/eclipse-mosquitto:latest
container_name: mosquitto
restart: unless-stopped
volumes:
- /mnt/flash1/podman/homeassistant/mosquitto/config:/mosquitto/config
- /mnt/flash1/podman/homeassistant/mosquitto/data:/mosquitto/data
- /mnt/flash1/podman/homeassistant/mosquitto/log:/mosquitto/log
ports:
- "1883:1883" # MQTT
- "9001:9001" # Websocket (for Lovelace)
nodered:
image: docker.io/nodered/node-red:latest
container_name: nodered
restart: unless-stopped
volumes:
- /mnt/flash1/podman/homeassistant/nodered/data/:/data
ports:
- "1880:1880"
environment:
- TZ=${TZ}