Create shared network for mosquitto and home-assistant
This commit is contained in:
parent
5c27d9f5cd
commit
f1b2134b27
@ -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:
|
Loading…
Reference in New Issue
Block a user