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:
|
services:
|
||||||
#Conteneur Home Assistant
|
#Conteneur Home Assistant
|
||||||
homeassistant:
|
homeassistant:
|
||||||
|
@ -12,7 +11,7 @@ services:
|
||||||
#On définit un "bind mount" pour conserver la configuration de Home-Assistant
|
#On définit un "bind mount" pour conserver la configuration de Home-Assistant
|
||||||
volumes:
|
volumes:
|
||||||
- ./home-assistant:/config
|
- ./home-assistant:/config
|
||||||
restart: always
|
restart: unless-stopped
|
||||||
|
|
||||||
#Conteneur du broker MQTT Mosquitto
|
#Conteneur du broker MQTT Mosquitto
|
||||||
mosquitto:
|
mosquitto:
|
||||||
|
@ -24,9 +23,10 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
#Bind mount pour la configuration
|
#Bind mount pour la configuration
|
||||||
- ./mosquitto/config:/mosquitto/config
|
- ./mosquitto/config:/mosquitto/config
|
||||||
#Volumes pour les logs et les données persistantes
|
#logs et les données persistantes
|
||||||
- mosquitto_data:/mosquitto/data
|
- ./mosquitto/data:/mosquitto/data
|
||||||
- mosquitto_log:/mosquitto/log
|
- ./mosquitto/log:/mosquitto/log
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
#Conteneur ZigBee2MQTT
|
#Conteneur ZigBee2MQTT
|
||||||
zigbee2mqtt:
|
zigbee2mqtt:
|
||||||
|
@ -45,9 +45,3 @@ services:
|
||||||
#Adresse de votre dongle usb ZigBee à changer par la votre (uniquement avant les ':')
|
#Adresse de votre dongle usb ZigBee à changer par la votre (uniquement avant les ':')
|
||||||
- /dev/ttyUSB0:/dev/ttyUSB0
|
- /dev/ttyUSB0:/dev/ttyUSB0
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
volumes:
|
|
||||||
mosquitto_config:
|
|
||||||
mosquitto_data:
|
|
||||||
mosquitto_log:
|
|
||||||
zigbee_data:
|
|
Loading…
Add table
Reference in a new issue