Initial commit

This commit is contained in:
2025-03-22 14:29:48 +01:00
commit da7781035d
87 changed files with 3160 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
services:
homeassistant:
container_name: homeassistant
image: "ghcr.io/home-assistant/home-assistant:stable"
ports:
- "8123"
networks:
- default
- proxy
environment:
- TZ=Europe/Paris
volumes:
- ha_config:/config
- /etc/localtime:/etc/localtime:ro
- /run/dbus:/run/dbus:ro
restart: unless-stopped
labels:
- "traefik.enable=true"
- "traefik.http.routers.homeassistant.rule=Host(`homeassistant.local`)"
volumes:
ha_config:
driver: local
driver_opts:
type: 'none'
o: 'bind'
device: '/app/home-assistant/config'
networks:
proxy:
external: true
name: proxy

View File

@@ -0,0 +1,16 @@
services:
matter-server:
image: ghcr.io/home-assistant-libs/python-matter-server:stable
container_name: matter-server
restart: unless-stopped
network_mode: host
volumes:
- data:/data/
volumes:
data:
driver: local
driver_opts:
type: 'none'
o: 'bind'
device: '/app/matter-server/data'

View File

@@ -0,0 +1,25 @@
services:
mosquitto:
image: eclipse-mosquitto
container_name: mosquitto
restart: unless-stopped
ports:
- "1883:1883"
- "9001:9001"
volumes:
- data:/mosquitto/data
- config:/mosquitto/config
volumes:
data:
driver: local
driver_opts:
type: 'none'
o: 'bind'
device: '/app/mosquitto/data'
config:
driver: local
driver_opts:
type: 'none'
o: 'bind'
device: '/app/mosquitto/config'

View File

@@ -0,0 +1,28 @@
services:
node-red:
image: nodered/node-red:latest
environment:
- TZ=Europe/Paris
ports:
- "1880"
networks:
- default
- proxy
volumes:
- data:/data
labels:
- "traefik.enable=true"
- "traefik.http.routers.node-red.rule=Host(`nodered.local`)"
volumes:
data:
driver: local
driver_opts:
type: 'none'
o: 'bind'
device: '/app/nodered/data'
networks:
proxy:
external: true
name: proxy

View File

@@ -0,0 +1,33 @@
services:
zigbee2mqtt:
container_name: zigbee2mqtt
restart: unless-stopped
image: koenkk/zigbee2mqtt
networks:
- default
- proxy
volumes:
- data:/app/data
- /run/udev:/run/udev:ro
ports:
- "8080"
environment:
- TZ=Europe/Paris
devices:
- /dev/ttyUSB0:/dev/ttyUSB0
labels:
- "traefik.enable=true"
- "traefik.http.routers.zigbee2mqtt.rule=Host(`zigbee2mqtt.local`)"
volumes:
data:
driver: local
driver_opts:
type: 'none'
o: 'bind'
device: '/app/zigbee2mqtt/data'
networks:
proxy:
external: true
name: proxy