56 lines
1.5 KiB
YAML
56 lines
1.5 KiB
YAML
version: '3.9'
|
|
services:
|
|
home-assistant:
|
|
image: lscr.io/linuxserver/homeassistant:latest
|
|
container_name: home-assistant_home-assistant
|
|
env_file:
|
|
- path: home-assistant.env
|
|
required: true
|
|
networks:
|
|
- web
|
|
- home-assistant
|
|
volumes:
|
|
- $DOCKER_DATA/home-assistant:/config
|
|
- /run/dbus:/run/dbus:ro
|
|
labels:
|
|
- traefik.http.routers.home-assistant.rule=Host(`homeassistant.jafner.net`)
|
|
- traefik.http.routers.home-assistant.tls.certresolver=lets-encrypt
|
|
|
|
mosquitto:
|
|
image: eclipse-mosquitto:latest
|
|
container_name: home-assistant_mosquitto
|
|
networks:
|
|
- home-assistant
|
|
volumes:
|
|
- ./mosquitto.conf:/mosquitto/config/mosquitto.conf
|
|
- ./mosquitto.passwd:/mosquitto/config/mosquitto.passwd
|
|
- $DOCKER_DATA/mosquitto:/mosquitto/data
|
|
ports:
|
|
- 12883:1883
|
|
- 19001:9001
|
|
|
|
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
|
|
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
|
|
|
|
networks:
|
|
web:
|
|
external: true
|
|
home-assistant: |