homelab/fighter/config/home-assistant/docker-compose.yml

62 lines
1.7 KiB
YAML
Raw Permalink Normal View History

2024-02-26 10:51:50 -08:00
version: '3.9'
services:
home-assistant:
image: lscr.io/linuxserver/homeassistant:latest
container_name: home-assistant_home-assistant
env_file:
2024-02-27 23:12:46 -08:00
- path: home-assistant.env
required: true
2024-02-26 10:51:50 -08:00
networks:
- web
- home-assistant
2024-02-26 10:51:50 -08:00
volumes:
2024-02-26 11:41:12 -08:00
- $DOCKER_DATA/home-assistant:/config
2024-02-27 01:48:51 -08:00
- /run/dbus:/run/dbus:ro
2024-02-26 10:51:50 -08:00
labels:
- traefik.http.routers.home-assistant.rule=Host(`homeassistant.jafner.net`)
- traefik.http.routers.home-assistant.tls.certresolver=lets-encrypt
2024-02-26 11:41:12 -08:00
mosquitto:
image: eclipse-mosquitto:latest
container_name: home-assistant_mosquitto
networks:
- home-assistant
2024-02-26 11:41:12 -08:00
volumes:
2024-02-26 11:44:21 -08:00
- ./mosquitto.conf:/mosquitto/config/mosquitto.conf
- ./mosquitto.passwd:/mosquitto/config/mosquitto.passwd
2024-02-26 11:41:12 -08:00
- $DOCKER_DATA/mosquitto:/mosquitto/data
ports:
2024-02-26 12:17:05 -08:00
- 12883:1883
2024-02-26 12:15:26 -08:00
- 19001:9001
2024-02-26 10:51:50 -08:00
2024-02-27 23:12:46 -08:00
wyze-bridge:
image: mrlt8/wyze-bridge
container_name: home-assistant_wyze-bridge
networks:
- web
env_file:
- path: ./wyze-bridge.env
required: true
- path: wyze-bridge_secrets.env
required: false
ports:
- 11935:1935 # RTMP
- 18554:8554 # RTSP
- 19090:8888 # HLS
- 19091:8889 # WebRTC
- 19092:8189/udp # WebRTC/ICE
volumes:
- type: tmpfs
target: /tmp/docker-wyze
tmpfs:
size: 4000000000
2024-02-27 23:15:49 -08:00
labels:
- traefik.http.routers.wyze-bridge.rule=Host(`wyze.homeassistant.jafner.net`)
- traefik.http.routers.wyze-bridge.tls.certresolver=lets-encrypt
- traefik.http.routers.wyze-bridge.middlewares=lan-only@file
- traefik.http.services.wyze-bridge.loadbalancer.server.port=5000
2024-02-27 23:12:46 -08:00
2024-02-26 10:51:50 -08:00
networks:
web:
external: true
home-assistant: