Create shared network for mosquitto and home-assistant

This commit is contained in:
Joey Hafner 2024-02-26 12:28:57 -08:00
parent 4e6b462fcb
commit 050b257253

View File

@ -7,6 +7,7 @@ services:
- home-assistant.env
networks:
- web
- home-assistant
volumes:
- $DOCKER_DATA/home-assistant:/config
labels:
@ -16,6 +17,8 @@ services:
mosquitto:
image: eclipse-mosquitto:latest
container_name: home-assistant_mosquitto
networks:
- home-assistant
volumes:
- ./mosquitto.conf:/mosquitto/config/mosquitto.conf
- $DOCKER_DATA/mosquitto:/mosquitto/data
@ -25,4 +28,5 @@ services:
networks:
web:
external: true
external: true
home-assistant: