maj du compose : volumes
This commit is contained in:
parent
47c5a9d94a
commit
7d571b1686
1 changed files with 10 additions and 16 deletions
|
@ -1,4 +1,3 @@
|
|||
version: '3.8'
|
||||
services:
|
||||
#Conteneur Home Assistant
|
||||
homeassistant:
|
||||
|
@ -12,7 +11,7 @@ services:
|
|||
#On définit un "bind mount" pour conserver la configuration de Home-Assistant
|
||||
volumes:
|
||||
- ./home-assistant:/config
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
|
||||
#Conteneur du broker MQTT Mosquitto
|
||||
mosquitto:
|
||||
|
@ -24,9 +23,10 @@ services:
|
|||
volumes:
|
||||
#Bind mount pour la configuration
|
||||
- ./mosquitto/config:/mosquitto/config
|
||||
#Volumes pour les logs et les données persistantes
|
||||
- mosquitto_data:/mosquitto/data
|
||||
- mosquitto_log:/mosquitto/log
|
||||
#logs et les données persistantes
|
||||
- ./mosquitto/data:/mosquitto/data
|
||||
- ./mosquitto/log:/mosquitto/log
|
||||
restart: unless-stopped
|
||||
|
||||
#Conteneur ZigBee2MQTT
|
||||
zigbee2mqtt:
|
||||
|
@ -45,9 +45,3 @@ services:
|
|||
#Adresse de votre dongle usb ZigBee à changer par la votre (uniquement avant les ':')
|
||||
- /dev/ttyUSB0:/dev/ttyUSB0
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
mosquitto_config:
|
||||
mosquitto_data:
|
||||
mosquitto_log:
|
||||
zigbee_data:
|
Loading…
Add table
Reference in a new issue