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
|
2024-02-26 12:28:57 -08:00
|
|
|
- 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
|
2024-02-26 12:28:57 -08:00
|
|
|
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
|
2024-02-26 12:45:42 -08:00
|
|
|
- ./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
|
2024-02-28 00:11:15 -08:00
|
|
|
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
|
2024-02-27 23:29:54 -08:00
|
|
|
- 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:
|
2024-02-26 12:28:57 -08:00
|
|
|
external: true
|
|
|
|
home-assistant:
|